From 07072321ae538bdefe55dd6a9e8997207827822c Mon Sep 17 00:00:00 2001 From: Juan Antonio Osorio Robles Date: Thu, 30 Nov 2017 15:58:02 +0200 Subject: [PATCH] Update PSK setup in README The file is no longer hardcoded, so we can just pass it via the command line while still using Ansible Vault. --- README.md | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/README.md b/README.md index 1480748..cbe3f9d 100644 --- a/README.md +++ b/README.md @@ -75,9 +75,6 @@ ipsec_psk: $(openssl rand -base64 48) EOF ``` -Note that for convenience I put the file in a path that's reachable for -ansible. And this name is necessary, as it's written directly to the playbook. - Encrypt the file with ansible-vault (note that it'll prompt for a password): ``` @@ -88,7 +85,7 @@ Having done this, now you can run the playbook: ``` ansible-playbook -i /usr/bin/tripleo-ansible-inventory --ask-vault-pass \ - tests/deploy-ipsec-tripleo.yml + -e @ipsec-psk.yml tests/deploy-ipsec-tripleo.yml ``` Generating an inventory