Change services to properly handle runit now that fact has been found.
This commit is contained in:
@@ -10,11 +10,11 @@
|
||||
state: started
|
||||
enabled: yes
|
||||
when: ansible_virtualization_type != 'docker'
|
||||
and ansible_service_mgr != "runit"
|
||||
register: cron_status
|
||||
until: cron_status.state == "started"
|
||||
retries: 3
|
||||
delay: 3
|
||||
ignore_errors: yes # TBD: while debugging Devuan using runit.
|
||||
|
||||
|
||||
## CUPS ##
|
||||
@@ -83,11 +83,11 @@
|
||||
state: reloaded
|
||||
enabled: yes
|
||||
when: ansible_virtualization_type != 'docker'
|
||||
and ansible_service_mgr != "runit"
|
||||
register: sshd_status
|
||||
until: sshd_status.state == "started"
|
||||
retries: 3
|
||||
delay: 3
|
||||
ignore_errors: yes # TBD: while debugging Devuan using runit.
|
||||
|
||||
|
||||
## JournalCTL ##
|
||||
@@ -119,11 +119,11 @@
|
||||
state: started
|
||||
enabled: yes
|
||||
when: ansible_virtualization_type != 'docker'
|
||||
and ansible_service_mgr != "runit"
|
||||
register: ntp_status
|
||||
until: ntp_status.state == "started"
|
||||
retries: 3
|
||||
delay: 3
|
||||
ignore_errors: yes # TBD: while debugging Devuan using runit.
|
||||
|
||||
## Timezone ##
|
||||
|
||||
|
||||
Reference in New Issue
Block a user