What does the lineinfile module do?
Consider the following playbook.---- hosts: localbecome: yestasks:- name: create usersuser: name: "{{item}}" with_items:- sam- john- bobHow many times is the user module invoked?
What command is used to run a playbook?
Consider the following playbook.- hosts: webserversbecome: yes- name: install httpdyum:name: httpdstate: latestWhich line includes a syntax error?
Which of the following attributes specifies how a handler can be notified? (Choose all that apply.)
Examine the following inventory excerpt file named /home/user/ansible/inventory. [dbservers] db1.example.comWhich of the following files does Ansible check for variables related to that inventory? (Choose all that apply.)