mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-04-28 20:42:20 +08:00
Use generate_ticketkey to generate ticket keys
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user