Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
ansible_lza_install_common
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Digital Preservation
ansible_lza_install_common
Commits
8a41b841
Commit
8a41b841
authored
3 years ago
by
Jörg Sachse
Browse files
Options
Downloads
Patches
Plain Diff
distinguish between Debian- and RHEL-based OSses when setting up ESXi timesync
parent
b9c3d0d0
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tasks/migrate_ntpd_to_esxi_timesync.yml
+23
-8
23 additions, 8 deletions
tasks/migrate_ntpd_to_esxi_timesync.yml
with
23 additions
and
8 deletions
tasks/migrate_ntpd_to_esxi_timesync.yml
+
23
−
8
View file @
8a41b841
---
-
name
:
purge NTPd package
apt
:
name
:
"
ntp"
state
:
absent
-
block
:
-
name
:
purge NTPd package
apt
:
name
:
"
ntp"
state
:
absent
# details can be found at sdvuda10 project, issue #2
-
name
:
make sure open-vm-tools are installed
apt
:
name
:
"
open-vm-tools"
state
:
latest
-
name
:
make sure open-vm-tools are installed
apt
:
name
:
"
open-vm-tools"
state
:
latest
when
:
ansible_os_family == "Debian"
-
block
:
-
name
:
purge NTPd package
yum
:
name
:
"
ntp"
state
:
absent
# details can be found at sdvuda10 project, issue #2
-
name
:
make sure open-vm-tools are installed
yum
:
name
:
"
open-vm-tools"
state
:
latest
when
:
ansible_os_family == "RedHat"
-
name
:
make sure that 'vmware-toolbox-cmd' exists
stat
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment