fix(bootstrap): correct changed_when on state-changing commands

This commit is contained in:
2026-02-11 21:06:10 +01:00
parent 7a76f58384
commit 45c002c2dd

View File

@@ -117,7 +117,7 @@
- name: Synchronize clock via NTP - name: Synchronize clock via NTP
ansible.builtin.command: timedatectl set-ntp true ansible.builtin.command: timedatectl set-ntp true
register: environment_ntp_result register: environment_ntp_result
changed_when: false changed_when: environment_ntp_result.rc == 0
- name: Configure SSH for root login - name: Configure SSH for root login
when: hypervisor_type == "vmware" and hypervisor_cfg.ssh | bool when: hypervisor_type == "vmware" and hypervisor_cfg.ssh | bool