mirror of
https://github.com/ZwareBear/JFrog-Cloud-Installers.git
synced 2026-01-21 04:06:55 -06:00
@@ -50,14 +50,14 @@ 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.
|
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
|
## Autogenerating Master and Join Keys
|
||||||
You may want to auto-generate your master amd join keys and apply it to all the nodes.
|
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
|
## Using [Ansible Vault](https://docs.ansible.com/ansible/latest/user_guide/vault.html) to Encrypt Vars
|
||||||
|
|||||||
Reference in New Issue
Block a user