Created
November 26, 2012 21:29
-
-
Save hpk42/4150734 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
# content of playbook | |
- name: copy apache.pem | |
file: path=/etc/apache2/ssl state=directory | |
copy: src=$item dest=/etc/apache2/ssl/ owner=root mode=600 | |
with_fileglob: files/ssl/* | |
# shown when i execute it with ansible-playbook | |
TASK: [copy apache.pem] ********************* | |
ok: [hq2] => (item=files/ssl/apache.pem) | |
ok: [hq2] => (item=files/ssl/server.key) | |
ok: [hq2] => (item=files/ssl/mydomain.crt) | |
# but the files are not there! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment