diff options
author | Hiroyasu OHYAMA <user.localhost2000@gmail.com> | 2017-04-07 03:16:07 +0000 |
---|---|---|
committer | Hiroyasu OHYAMA <user.localhost2000@gmail.com> | 2017-04-07 03:20:26 +0000 |
commit | 29203a454c495039001f59cd9204d33013f6c2f4 (patch) | |
tree | 9a35464b6c144b84f941500e9543e54ee457c042 /README.md | |
parent | 16dd29dd68381a3771b0c0cf84d05d1dfed05367 (diff) | |
download | ansible-rabbitmq-29203a454c495039001f59cd9204d33013f6c2f4.tar.gz ansible-rabbitmq-29203a454c495039001f59cd9204d33013f6c2f4.tar.zst ansible-rabbitmq-29203a454c495039001f59cd9204d33013f6c2f4.zip |
Corrected an argument which is passed to 'with_items' of the 'lineinfile' module for evaluating list value
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -90,7 +90,7 @@ Example Playbook | |||
90 | regexp: "^{{ hostvars[item].ansible_ssh_host }} {{ item }} {{ item }}.{{ pri_domain_name }}" | 90 | regexp: "^{{ hostvars[item].ansible_ssh_host }} {{ item }} {{ item }}.{{ pri_domain_name }}" |
91 | line: "{{ hostvars[item].ansible_ssh_host }} {{ item }} {{ item }}.{{ pri_domain_name }}" | 91 | line: "{{ hostvars[item].ansible_ssh_host }} {{ item }} {{ item }}.{{ pri_domain_name }}" |
92 | state: present | 92 | state: present |
93 | with_items: groups['all'] | 93 | with_items: "{{ groups['all'] }}" |
94 | 94 | ||
95 | - hosts: all | 95 | - hosts: all |
96 | become: true | 96 | become: true |