Created
January 30, 2014 17:55
-
-
Save mtpereira/8714618 to your computer and use it in GitHub Desktop.
ansible synchronize error playbook
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
prm.yml: | |
--- | |
- hosts: all | |
sudo: yes | |
vars_files: | |
- defaults/main.yml | |
tasks: | |
- include: tasks/main.yml | |
###### | |
tasks/main.yml: | |
--- | |
- include: pkg.yml tags=pkg | |
- include: gem.yml tags=gem | |
- include: repo.yml tags=repo | |
#### | |
tasks/repo.yml: | |
--- | |
- name: repo - sync local files with repo | |
synchronize: src=files/repo/ dest={{ prm_repo_directory }} archive=no | |
#### | |
prm_repo_directory: /srv/repo |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment