Merge "Fix dnsmasq restart requiring sudo privileges"
This commit is contained in:
commit
60e989e665
@ -25,6 +25,7 @@
|
|||||||
# Note(TheJulia): We need to actually to send a hup signal directly as
|
# Note(TheJulia): We need to actually to send a hup signal directly as
|
||||||
# Ansible's reloaded state does not pass through to the init script.
|
# Ansible's reloaded state does not pass through to the init script.
|
||||||
command: killall -HUP dnsmasq
|
command: killall -HUP dnsmasq
|
||||||
|
become: yes
|
||||||
when: inventory_dhcp | bool and instance_info is not defined or ( instance_info is defined and instance_info | to_json == '{}' )
|
when: inventory_dhcp | bool and instance_info is not defined or ( instance_info is defined and instance_info | to_json == '{}' )
|
||||||
- name: "Deploy to hardware - Using custom instance_info."
|
- name: "Deploy to hardware - Using custom instance_info."
|
||||||
os_ironic_node:
|
os_ironic_node:
|
||||||
|
Loading…
Reference in New Issue
Block a user