Answers for "exclude host in ansible adhoc command"

0

exclude host in ansible adhoc command

# Adhoc command. A \ is requred before the !
ansible my_group:\!single_server -m shell -a "docker ps"
Posted by: Guest on August-06-2021
0

ansible exclude a host

# By using the '!' you exclude a host from a play. 
ansible-playbook --limit 'myapp:!database3' myplay.yaml
Posted by: Guest on March-01-2021
0

exclude host in ansible adhoc command

# Adhoc command. A \ is requred before the !
ansible my_group:\!single_server -m shell -a "docker ps"
Posted by: Guest on August-06-2021
0

ansible exclude a host

# By using the '!' you exclude a host from a play. 
ansible-playbook --limit 'myapp:!database3' myplay.yaml
Posted by: Guest on March-01-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language