diff options
| -rw-r--r-- | ansible/roles/baremetal/tasks/pre-install.yml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ansible/roles/baremetal/tasks/pre-install.yml b/ansible/roles/baremetal/tasks/pre-install.yml index ab50d4d17..ddee67080 100644 --- a/ansible/roles/baremetal/tasks/pre-install.yml +++ b/ansible/roles/baremetal/tasks/pre-install.yml @@ -28,6 +28,7 @@ {% for host in groups['all'] %} {{ hostvars[host]['ansible_' + hostvars[host]['api_interface']]['ipv4']['address'] }} {{ hostvars[host]['ansible_hostname'] }} {% endfor %} + become: True when: customize_etc_hosts | bool == True - name: Ensure sudo group is present |
