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
>
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
ansible-playbook -i inventory/ -e orchestrator=kubernetes -e
'{"instances":{"bms1":{"ip":"localhost","provider":"bms"}}}'
playbooks/configure_instances.yml
ansible-playbook -i inventory/ -e orchestrator=kubernetes -e
'{"instances":{"bms1":{"ip":"localhost","provider":"bms"}}}'
playbooks/install_contrail.yml