Skip to content

Commit

Permalink
quote the variables in with_items - ansible2
Browse files Browse the repository at this point in the history
  • Loading branch information
martbhell committed Apr 25, 2016
1 parent 45e701e commit a415392
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

- name: copy specified bash profile scripts
copy: src={{ item }} dest=/etc/profile.d owner=root mode=0644
with_items: bash_script_copy_these
with_items: "{{ bash_script_copy_these }}"
when: bash_script_copy_all == False

- name: template FGCI bash profile scripts
Expand All @@ -27,5 +27,5 @@

- name: copy specified CSC LUA script
copy: src={{ item }} dest=/etc/profile.d owner=root mode=0644
with_items: lua_script_copy_these
with_items: "{{ lua_script_copy_these }}"
when: lua_script_copy_all == False and lua_script_copy_these.0 != ""

0 comments on commit a415392

Please sign in to comment.