Use generate_ticketkey to generate ticket keys

Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
This commit is contained in:
Patrick Uiterwijk 2017-10-10 12:27:41 +00:00
parent 7e6934efbb
commit 08c115698a

View file

@ -12,10 +12,10 @@
tasks:
- name: create new production ticket key
command: dd if=/dev/random of=/root/ticketkey_production.tkey bs=1 count=48
command: /usr/local/bin/generate_ticketkey /root/ticketkey_production.tkey fpprod
- name: create new staging ticket key
command: dd if=/dev/random of=/root/ticketkey_staging.tkey bs=1 count=48
command: /usr/local/bin/generate_ticketkey /root/ticketkey_staging.tkey fpstag
- name: Push out new ticket key
hosts: proxies:proxies-stg