Automation, Orchestration, and Scripting

A playbook needs the ansible.posix.firewalld module, which is not included in the installed ansible-core. What is the correct way to make it available?

Show the answer

Correct answerC. Install the ansible.posix collection on the control node

Collections distribute modules, plugins and roles, and are installed on the control node with ansible-galaxy collection install. Managed nodes need no extra packages because modules are copied over SSH when a task runs.