fixing syntax error in with_items variable

This commit is contained in:
Tim Flink 2014-03-17 21:45:41 +00:00
parent 116b6456cc
commit e9290ad137

View file

@ -55,11 +55,11 @@
tasks:
- name: create directories for local git repos
file: path=/srv/git/{{ item.path }} state=directory owner=root group=root mode=1775
with_items: {{ gitrepos }}
with_items: "{{ gitrepos }}"
- name: initialize git repos
command: chdir=/srv/git/{{ item.path }} creates={{ item.path }}/HEAD git init --bare
with_items: {{ gitrepos }}
with_items: "{{ gitrepos }}"
- name: create ansible base working directory
file: path=/srv/ansible state=directory owner=root group=root mode=1775