Skip to content
Snippets Groups Projects
Commit 7a07ce08 authored by Jenkins's avatar Jenkins Committed by Gerrit Code Review
Browse files

Merge "Use become: True when updating /etc/hosts"

parents a33d4fc5 90627ef2
No related branches found
No related tags found
No related merge requests found
...@@ -28,6 +28,7 @@ ...@@ -28,6 +28,7 @@
{% for host in groups['all'] %} {% for host in groups['all'] %}
{{ hostvars[host]['ansible_' + hostvars[host]['api_interface']]['ipv4']['address'] }} {{ hostvars[host]['ansible_hostname'] }} {{ hostvars[host]['ansible_' + hostvars[host]['api_interface']]['ipv4']['address'] }} {{ hostvars[host]['ansible_hostname'] }}
{% endfor %} {% endfor %}
become: True
when: customize_etc_hosts | bool == True when: customize_etc_hosts | bool == True
- name: Ensure sudo group is present - name: Ensure sudo group is present
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment