Use delegate_to instead of connection: local
This commit is contained in:
parent
6d8f8f3641
commit
3cbe8bd8d9
1 changed files with 2 additions and 2 deletions
|
@ -13,11 +13,11 @@
|
|||
tasks:
|
||||
- name: create new production ticket key
|
||||
command: dd if=/dev/random of=/root/ticketkey_production.tkey bs=1 count=48
|
||||
connection: local
|
||||
delegate_to: batcave01.phx2.fedoraproject.org
|
||||
|
||||
- name: create new staging ticket key
|
||||
command: dd if=/dev/random of=/root/ticketkey_staging.tkey bs=1 count=48
|
||||
connection: local
|
||||
delegate_to: batcave01.phx2.fedoraproject.org
|
||||
|
||||
- name: deploy ticket key
|
||||
copy: src=/root/ticketkey_{{env}}.tkey dest=/etc/httpd/ticketkey_{{env}}.tkey
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue