Select instance from dynamic inventory based on tag #1
Loading…
Add table
Add a link
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=trueRuntime variables
targetpractice=truetargetpractice=falseFind started/stopped instances with
tag_env_prod.targetpractice=truestartedtargetpractice=falsestoppedThe 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.