...
10. Update the environment list as per your infrastructure in ascending order. For example if you have only dev and production, your envOrder.txt will look like
dev=0 production=1 |
...
32. Copy the contents of the key you used to connect to VM into ops_ssh_key file
33. Create a new ssh key on your local machine or any server. We will use this for a user named deployer (or any name you like)
34. ssh-keygen -f deployer_ssh_key (passphrase should be empty)
35. Copy the contents of the deployer_ssh_key into /var/lib/jenkins/secrets/deployer_ssh_key
36. If your github private repo consists of ansible encrypted files, then enter the decryption password in /var/lib/jenkins/secrets/vault-pass. If there are no encrypted files, then enter some random value like 12345 into the vault-pass file. This file cannot be empty.
37. Follow the next set of steps to create inventory, secrets and ansible hosts in the private repo.