Created
October 19, 2016 16:45
-
-
Save sanguis/06b782b130592c40da9fbe292f70443c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
skipping: [host.com] => (item=https://github.com/foobar/example-theme.git) => {"changed": false, "item": "https://github.com/foobar/example-theme.git", "ski | |
p_reason": "Conditional check failed", "skipped": true} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# item = "https://github.com/foobar/example-theme.git" | |
- name: clone or update repo when it's a git repo | |
git: | |
dest: "{{ public_root }}/{{ key }}/{{ type }}/{{ archive }}" | |
repo: "{{ item }}" | |
update: yes | |
ignore_errors: yes | |
when: item | search('git') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment