diff --git a/playbooks/roles/bifrost-deploy-nodes-dynamic/tasks/main.yml b/playbooks/roles/bifrost-deploy-nodes-dynamic/tasks/main.yml index 8881597e1..26954ba84 100644 --- a/playbooks/roles/bifrost-deploy-nodes-dynamic/tasks/main.yml +++ b/playbooks/roles/bifrost-deploy-nodes-dynamic/tasks/main.yml @@ -25,6 +25,7 @@ # 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. 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 == '{}' ) - name: "Deploy to hardware - Using custom instance_info." os_ironic_node: