From 08c115698a462348fb04a4e8fa99e985be18fd81 Mon Sep 17 00:00:00 2001 From: Patrick Uiterwijk Date: Tue, 10 Oct 2017 12:27:41 +0000 Subject: [PATCH] Use generate_ticketkey to generate ticket keys Signed-off-by: Patrick Uiterwijk --- playbooks/update_ticketkey.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/playbooks/update_ticketkey.yml b/playbooks/update_ticketkey.yml index f1ddbd2cfc..d138a4b89c 100644 --- a/playbooks/update_ticketkey.yml +++ b/playbooks/update_ticketkey.yml @@ -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