Which package must be installed on the control node to run Ansible automation?
Rhce Ansible Fundamentals
Question · Easy
What is the default location of the Ansible configuration file?
Which command is used to verify the installed Ansible version?
Tech Exam Prep Podcast
Listen on Spotify
Podcast
In the ansible.cfg file, which parameter specifies the default inventory file location?
What is the default value of the remote_user configuration option in Ansible?
Question · Medium
Which ansible.cfg parameter disables SSH host key checking?
Where should private key files for SSH authentication be stored for security?
Which parameter in ansible.cfg controls the number of parallel processes (forks) Ansible uses?
What Python version is required on managed nodes for Ansible to work properly?
Which configuration file directive sets the default privilege escalation method?
How can you specify the SSH port for a host in the inventory file?
Which environment variable overrides the default Ansible configuration file location?
What is the default inventory file location in Ansible?
Which inventory file format uses INI-style syntax with square brackets for groups?
In an INI-style inventory file, how do you define a child group relationship?
How do you define host variables for a specific host in an INI inventory file?
What is the purpose of the all group in Ansible inventory?
In YAML inventory format, which key defines the hosts in a group?
Which command displays the inventory in a human-readable format?
How can you use a directory as an inventory source?
What is the purpose of the ungrouped group in Ansible?
In YAML inventory format, where do you define group variables?
Which pattern would match all hosts in the webservers group but NOT in the dbservers group?
Question · Hard
How do you define a range of hosts in an INI inventory file?
What is the correct syntax to define a variable for all hosts in INI format?
Which command runs a ping test on all hosts in the inventory?
Which module would you use to execute a shell command on managed nodes?
How do you pass arguments to a module in an ad-hoc command?
Which ad-hoc command would copy a file to all webservers?
What does the --check flag do in an ad-hoc command?
Which module is used to manage packages in an ad-hoc command on RHEL systems?
Which module collects facts about managed nodes?
How do you limit an ad-hoc command to specific hosts when using pattern matching?
Which ad-hoc command would reboot all hosts in the webservers group?
What is the correct file extension for Ansible playbook files?
Rhce Playbooks
What is the top-level list item in a playbook that defines a set of tasks?
Which YAML key specifies the target hosts for a play?
What is the default value of gather_facts in a playbook?
Which keyword is used to define a list of tasks in a play?
What is the purpose of the name field in a task?
Which playbook keyword is used to run tasks with elevated privileges?
How do you run a playbook from the command line?
Which module is used to manage services in a playbook?
What is the purpose of the state parameter in the file module?
Which playbook keyword runs a handler only when the notifying task made a change?
Where are handlers defined in a playbook?
What does the when keyword do in a task?
Loading more…