Created
June 21, 2013 10:04
-
-
Save universal/5830229 to your computer and use it in GitHub Desktop.
recursive directory creation, only last directory has owner and group set
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
--- | |
- hosts: some_host | |
user: some_user | |
sudo: yes | |
tasks: | |
- name: ensure backup gem is installed | |
gem: name=backup state=present | |
- name: ensure Backup dir is present | |
file: state=directory path=/home/git/Backup/models owner=git group=git recurse=yes |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment