diff options
Diffstat (limited to 'roles/space_server/tasks/timesyncd.yml')
-rw-r--r-- | roles/space_server/tasks/timesyncd.yml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/roles/space_server/tasks/timesyncd.yml b/roles/space_server/tasks/timesyncd.yml index cf964e3..3217889 100644 --- a/roles/space_server/tasks/timesyncd.yml +++ b/roles/space_server/tasks/timesyncd.yml @@ -5,11 +5,11 @@ enabled: yes masked: no state: started - when: "'container' not in ansible_env" -- name: '- when in nspawn' + when: not chroot +- name: '- when in chroot' command: systemctl enable systemd-timesyncd.service args: creates: '/etc/systemd/system/sysinit.target.wants/systemd-timesyncd.service' - when: "'container' in ansible_env" + when: chroot # vim: set ts=2 sw=2 et: |