Go-agent set up steps
- Run the go-agent play on playbook
ansible-playbook all.yml -i stg -t go-agent --vault-password-file ~/.vaultpass.txt -k -vvvv
- Copy the appropriate vault password to ~/.vaultpass.txt
- Download the secret key from our google-drive to decrypt the encrypted seed data to ~/secret-key
- Generate SSH keys on the new go-agent
ssh-keygen -t rsa
- Attempt to SSH from the go-agent box into all the configured hosts.Enter “yes” when prompted for “Are you sure connecting…"
- Copy go keys from the agent box to all the hosts of the respective environment.
ansible-playbook all.yml -i stg -t copy-go-keys --vault-password-file ~/.vaultpass.txt -vvvv -k
0 Comments