Skip to content

Commit

Permalink
feat: fix ansible 2 variables
Browse files Browse the repository at this point in the history
Merge branch 'ansible-2.0' of https://github.com/freemanjp/ansible-git into develop

closes #1
  • Loading branch information
franklinkim committed Sep 12, 2016
2 parents c1fcbfc + fbba5de commit 4777d3f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tasks/manage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
track_submodules: "{{ item.track_submodules | default(omit) }}"
update: "{{ item.pull if item.pull is defined else (git_pull if git_pull else omit) }}"
version: "{{ item.version | default(omit) }}"
with_items: git_repositories
with_items: "{{ git_repositories }}"

- name: Setting mode on repositories
file:
Expand All @@ -27,5 +27,5 @@
owner: "{{ item.owner if item.owner is defined else (git_owner if git_owner else omit) }}"
group: "{{ item.group if item.group is defined else (git_group if git_group else omit) }}"
recurse: true
with_items: git_repositories
with_items: "{{ git_repositories }}"
when: git_repositories

0 comments on commit 4777d3f

Please sign in to comment.