Skip to content

Instantly share code, notes, and snippets.

@stevenringo
Created September 15, 2014 22:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save stevenringo/8c70bd148ac0d24bff66 to your computer and use it in GitHub Desktop.
Save stevenringo/8c70bd148ac0d24bff66 to your computer and use it in GitHub Desktop.
Ansible double interpolation
- name: create required directories
sudo_user: "{{ deploy_user }}"
file: path="{{ item }}" state=directory owner={{ deploy_user }} group={{ deploy_user }} mode=0755
with_items:
- "{{ git_repo_path }}"
- "{{ shared_path }}"
- "{{ archive_path }}"
- "{{ releases_path }}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment