From a24727d7c5e2620eaf8941fad9d90ee3450823f0 Mon Sep 17 00:00:00 2001 From: Ram <1331672+chukka@users.noreply.github.com> Date: Wed, 30 Sep 2020 12:57:24 +0530 Subject: [PATCH 1/2] Fix documentation --- Ansible/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Ansible/README.md b/Ansible/README.md index 7e87f54..894dd34 100644 --- a/Ansible/README.md +++ b/Ansible/README.md @@ -57,7 +57,7 @@ ansible-playbook -i hosts.yml playbook.yml --extra-vars "master_key=$(openssl ra You may want to auto-generate your master amd join keys and apply it to all the nodes. ``` -ansible-playbook -i hosts.yml playbook.yml --extra-vars "master_key=$(openssl rand -hex 16) join_key=$(openssl rand -hex 16)" +ansible-playbook -i hosts.yml playbook.yml --extra-vars "master_key=$(openssl rand -hex 32) join_key=$(openssl rand -hex 32)" ``` ## Using [Ansible Vault](https://docs.ansible.com/ansible/latest/user_guide/vault.html) to Encrypt Vars From 5ae88d7c6dc801699f8c7754a7265edf0750c1fb Mon Sep 17 00:00:00 2001 From: Ram <1331672+chukka@users.noreply.github.com> Date: Wed, 30 Sep 2020 12:58:05 +0530 Subject: [PATCH 2/2] Fix documentation --- Ansible/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Ansible/README.md b/Ansible/README.md index 894dd34..f22db8d 100644 --- a/Ansible/README.md +++ b/Ansible/README.md @@ -50,7 +50,7 @@ This Ansible directory consists of the following directories that support the JF 5. Then execute with the following command to provision the JFrog software with Ansible. Variables can also be passed in at the command-line. ``` -ansible-playbook -i hosts.yml playbook.yml --extra-vars "master_key=$(openssl rand -hex 16) join_key=$(openssl rand -hex 16)" +ansible-playbook -i hosts.yml playbook.yml --extra-vars "master_key=$(openssl rand -hex 32) join_key=$(openssl rand -hex 32)" ``` ## Autogenerating Master and Join Keys