Change services to properly handle runit now that fact has been found.
This commit is contained in:
@@ -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 ##
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user