Исключить хост в команде Ansible Adhoc
# Adhoc command. A \ is requred before the !
ansible my_group:\!single_server -m shell -a "docker ps"
RicarHincapie
# Adhoc command. A \ is requred before the !
ansible my_group:\!single_server -m shell -a "docker ps"