1- remote access to the VM on AWS ( using terraformpairkey )
1a- create the hosts file
1b- test ssh session
2- copy key to the VM on AWS
#ssh-copy-id <
10.0
.
1.104
>
- name: copy ssh key to the AWS VM
command: "ssh-copy-id root@<IP@>" #ssh copy like simple ssh need: 1- user/password or 2- ssh key ) so don't for get ssh-add terraformpairkey.pem, just to login
ignore_errors: yes
2- Install packages:
sudo yum install -y ansible-
2.4
.
2.0
sudo yum install git -y
3- geting the contrail playbooK
git clone http:
//github.com/Juniper/contrail-ansible-deployer
4- cd and run playbook
cd contrail-ansible-deployer
...