Questions
- For Ansible releases after 3.0, you would almost always develop a new module and distribute it via which of the following?
a) The
ansible-core
project.b) Your collection.
c) An existing collection with overlapping functionality, with the project maintainer's approval.
d) A role.
e) b, c, and maybe d only
- The easiest way to develop a custom module is to write it in what language?
a) Bash
b) Perl
c) Python
d) C++
- Providing facts from a custom module does what?
a) Saves you from needing to register the output to a variable and then using
set_fact
.b) Gives your code greater capabilities.
c) Helps you debug your code.
d) Shows you how the module is running.
- Callback plugins allow you to do what?
a) Help you call other playbooks.
b) Easily alter the behavior of Ansible at key operational points without having to alter the
ansible-core
code.c) Provide an efficient means of altering the code's state.
d) Help you to call back to your playbook during runtime.
- To distribute...