ansible 使用

1
2
3
4
ansible group --become --ask-become-pass -m command -a 'my command'

ansible group -m copy -a "src=test.sh dest=~/test.sh mode=0755"
ansible group -m shell -a "./test.sh"

https://www.jianshu.com/p/1bf79764bb6f

请作者喝一杯咖啡☕️