How to use extra ansible modules?

36 views
Skip to first unread message

Chang Zhi

unread,
Mar 9, 2017, 3:01:11 AM3/9/17
to Ansible Project
hi, I'm a new man to using ansible. I have some simple questions about how to use ansible modules. I want to use the openvswitch module[1]. What commands should I execute ? Should I use " ansible " or "ansible-playbook" ? 


Thanks
Zhi Chang

Brian Coca

unread,
Jun 2, 2017, 11:44:05 AM6/2/17
to Ansible Project
All modules are currently bundled with Ansible, just make sure you
have the correct version.

ansible is for 'adhoc' or 'single task' runs, -m <modulename> is the
option to use a specific module

ansible-playbook play.yml <- would require writing a play that uses the module.

----------
Brian Coca
Reply all
Reply to author
Forward
0 new messages