feat: add option to disable service restart
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
70c5937e2a
commit
77ccbd49e0
@ -3,6 +3,7 @@ network_hostname: localhost
|
|||||||
network_fqdn: localdomain
|
network_fqdn: localdomain
|
||||||
|
|
||||||
network_reboot_enabled: True
|
network_reboot_enabled: True
|
||||||
|
network_restart_enabled: True
|
||||||
network_ipv6_enabled: True
|
network_ipv6_enabled: True
|
||||||
|
|
||||||
network_defaultif: eth0
|
network_defaultif: eth0
|
||||||
|
@ -4,7 +4,9 @@
|
|||||||
shell: "{{ __network_restart_command }}"
|
shell: "{{ __network_restart_command }}"
|
||||||
async: 1
|
async: 1
|
||||||
poll: 0
|
poll: 0
|
||||||
when: not require_reboot | bool
|
when:
|
||||||
|
- network_restart_enabled | bool
|
||||||
|
- not require_reboot | bool
|
||||||
listen: __network_restart
|
listen: __network_restart
|
||||||
tags:
|
tags:
|
||||||
- skip_ansible_later
|
- skip_ansible_later
|
||||||
|
Loading…
Reference in New Issue
Block a user