mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-05-12 10:56:20 +08:00
fixing syntax error in with_items variable
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user