Try starting the necessary services multiple times.

This commit is contained in:
2025-08-21 14:55:36 -07:00
parent c12b54d0dc
commit e19902074a

View File

@@ -9,6 +9,10 @@
pattern: "{{ crond_pattern }}" pattern: "{{ crond_pattern }}"
state: started state: started
enabled: yes enabled: yes
register: cron_status
until: cron_status.state == "started"
retries: 3
delay: 3
## CUPS ## ## CUPS ##
@@ -76,6 +80,10 @@
pattern: "{{ sshd_pattern }}" pattern: "{{ sshd_pattern }}"
state: reloaded state: reloaded
enabled: yes enabled: yes
register: sshd_status
until: sshd_status.state == "started"
retries: 3
delay: 3
## JournalCTL ## ## JournalCTL ##
@@ -105,3 +113,7 @@
pattern: "{{ ntp_server }}" pattern: "{{ ntp_server }}"
state: started state: started
enabled: yes enabled: yes
register: ntp_status
until: ntp_status.state == "started"
retries: 3
delay: 3