Skip to content
Snippets Groups Projects
Commit 0544a2c4 authored by Jörg Sachse's avatar Jörg Sachse
Browse files

fix: enable ESXi timesync only of vmware-toolbox-cmd is available

parent 122863f9
No related branches found
No related tags found
No related merge requests found
......@@ -27,6 +27,9 @@
- name: enable ESXi timesync if necessary
shell: "/usr/bin/vmware-toolbox-cmd timesync enable"
when: >
( timesync.stdout not in "Aktiviert" ) or
( timesync.stdout not in "Enabled" )
when:
- ( timesync.stdout not in "Aktiviert" ) or
( timesync.stdout not in "Enabled" )
- vmtools.stat.exists
- vmtools.stat.isreg
- vmtools.stat.xusr
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment