]> git.immae.eu Git - github/fretlink/ansible-rabbitmq.git/commitdiff
Corrected an argument which is passed to 'with_items' of the 'lineinfile' module...
authorHiroyasu OHYAMA <user.localhost2000@gmail.com>
Fri, 7 Apr 2017 03:16:07 +0000 (03:16 +0000)
committerHiroyasu OHYAMA <user.localhost2000@gmail.com>
Fri, 7 Apr 2017 03:20:26 +0000 (03:20 +0000)
README.md
playbook.yml

index 03cd1aa57509034848962dba3a016f81938f4b00..e416fc5390ce8712458cd28e4e7614bafe3cd914 100644 (file)
--- a/README.md
+++ b/README.md
@@ -90,7 +90,7 @@ Example Playbook
         regexp: "^{{ hostvars[item].ansible_ssh_host }} {{ item }} {{ item }}.{{ pri_domain_name }}"
         line: "{{ hostvars[item].ansible_ssh_host }} {{ item }} {{ item }}.{{ pri_domain_name }}"
         state: present
-      with_items: groups['all']
+      with_items: "{{ groups['all'] }}"
 
 - hosts: all
   become: true
index 33cf1ab30a4d639ebce7164934cf683354b84686..19683208be372d68d5a782f98238640e3acd345e 100644 (file)
@@ -11,7 +11,7 @@
         regexp: "^{{ hostvars[item].ansible_ssh_host }} {{ item }} {{ item }}.{{ pri_domain_name }}"
         line: "{{ hostvars[item].ansible_ssh_host }} {{ item }} {{ item }}.{{ pri_domain_name }}"
         state: present
-      with_items: groups['all']
+      with_items: "{{ groups['all'] }}"
 
 - hosts: all
   become: true