Running ansible playbooks from inside the command node - ganeshahv/Contrail_SRE GitHub Wiki

Inside the command node

  1. Get into the ansible_player docker
docker exec -it ansible-player_20200910051312 bash
cd /root/contrail-ansible-deployer/
  1. The instances.yml is found in :
/var/tmp/contrail_cluster/<cluster_id>
  1. Run the correct playbook specifying the correct instances.yml
ansible-playbook -i inventory -e config_file=<Absolute path of the instances.yml> playbooks/<playbook>
⚠️ **GitHub.com Fallback** ⚠️