Questions
Answer the following questions to test your knowledge of this chapter:
- Which of the following
ansible-doccommands can you use to list the names of all the cache plugins?ansible-doc -acache -lansible-doccache -lansible-doc -a cacheansible-doc -tcache -lansible-doc cache
- Which class do you need to add to your
lookupplugin’s code to include the bulk of the plugin code, includingrun(), theitemsloop,try, andexcept?LookupModuleRunModuleStartModuleInitModuleLoadModule
- True or false: To create custom plugins with complex operations rather than printing simple hello world text using Python, you need to install Python with the relevant dependencies on your OS.
- True
- False