Select instance from dynamic inventory based on tag #1
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
ansible-playbook example.yml -e targetpractice=true
Runtime variables
targetpractice=true
targetpractice=false
Find started/stopped instances with
tag_env_prod
.targetpractice=true
started
targetpractice=false
stopped
The Ansible ELB and EC2 start permission are granted to the ansible controller. I'll still need to be able to execute shell tasks on the remote instances, like normal. I want to pick hosts based on tags.
changed the description
assigned to @vincentvdk
mentioned in merge request !1
@reel Added an example that does what you are trying to accomplish.