Change services to properly handle runit now that fact has been found.

This commit is contained in:
2026-07-30 09:23:08 -07:00
parent f76b635e40
commit f46b0bad96
+3 -3
View File
@@ -10,11 +10,11 @@
state: started state: started
enabled: yes enabled: yes
when: ansible_virtualization_type != 'docker' when: ansible_virtualization_type != 'docker'
and ansible_service_mgr != "runit"
register: cron_status register: cron_status
until: cron_status.state == "started" until: cron_status.state == "started"
retries: 3 retries: 3
delay: 3 delay: 3
ignore_errors: yes # TBD: while debugging Devuan using runit.
## CUPS ## ## CUPS ##
@@ -83,11 +83,11 @@
state: reloaded state: reloaded
enabled: yes enabled: yes
when: ansible_virtualization_type != 'docker' when: ansible_virtualization_type != 'docker'
and ansible_service_mgr != "runit"
register: sshd_status register: sshd_status
until: sshd_status.state == "started" until: sshd_status.state == "started"
retries: 3 retries: 3
delay: 3 delay: 3
ignore_errors: yes # TBD: while debugging Devuan using runit.
## JournalCTL ## ## JournalCTL ##
@@ -119,11 +119,11 @@
state: started state: started
enabled: yes enabled: yes
when: ansible_virtualization_type != 'docker' when: ansible_virtualization_type != 'docker'
and ansible_service_mgr != "runit"
register: ntp_status register: ntp_status
until: ntp_status.state == "started" until: ntp_status.state == "started"
retries: 3 retries: 3
delay: 3 delay: 3
ignore_errors: yes # TBD: while debugging Devuan using runit.
## Timezone ## ## Timezone ##