Post Installation Changes
If you modify or make changes to the inventory file after the code deployment, run the following commands based on services that are modified:
From
ansible-playbook -i environments/ <your_filename> / --vault-password-file password-ansible playbooks/docker.yml -vv
, executedocker.yml
file for all the service changes that are modified.From
ansible-playbook -i environments/<your_filename> / --vault-password-file password-ansible playbooks/ai-entity.yml -vv | tee -a log_ai_1
Use SSH key in the newly created instances in the cluster, until the
key_pair
is added in AWS console for those instances.ssh deploy@instance_ip_address