fixing syntax error in with_items variable
This commit is contained in:
parent
116b6456cc
commit
e9290ad137
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue