diff --git a/provision.yml b/provision.yml index e73c56b..9d3c5cd 100644 --- a/provision.yml +++ b/provision.yml @@ -59,12 +59,12 @@ owner: root group: root mode: 0644 - - name: register nodes in /etc/hosts - lineinfile: - path: /etc/hosts - regexp: ".*{{ item }}$" - line: "{{ hostvars[item].ansible_default_ipv4.address }} {{ item }}" - state: present - when: hostvars[item].ansible_default_ipv4.address is defined - with_items: "{{ play_hosts }}" + #- name: register nodes in /etc/hosts + # lineinfile: + # path: /etc/hosts + # regexp: ".*{{ item }}$" + # line: "{{ hostvars[item].ansible_default_ipv4.address }} {{ item }}" + # state: present + # when: hostvars[item].ansible_default_ipv4.address is defined + # with_items: "{{ play_hosts }}" tags: [ prepare ]