📜  在 ansible adhoc 命令中排除主机 - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:51:07.251000             🧑  作者: Mango

代码示例1
# Adhoc command. A \ is requred before the !
ansible my_group:\!single_server -m shell -a "docker ps"