tmp
Friday, January 12, 2018
Ansible cli
``` ansible <host-pattern> -i <inventory> -m <module-name> -a <module-args> ``` eg. service apache2 reload ``` ansible web -i prod -m service -a "name=apache2 state=reloaded" ```
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment