Ansible with Linux and Windows Administration Quiz Questions and Answers

What is a playbook?

Answer :
  • A playbook is a YAML file containing one or more plays.

Which ansible module is utilized for managing docker services and containers?

Answer :
  • docker_service

Command to get ansible documentation of a module.

Answer :
  • ansible-doc < module >

Ansible has two types of servers. Select the appropriate answer from the given options?

Answer :
  • controlling machines and nodes

Which is a Version Control System from these option?

Answer :
  • Git

Is it possible to write multiple module in a Single Playbook?

Answer :
  • Yes

What is the name of Ansible Author?

Answer :
  • Micheal Dehaan

There is Playbook name file.yml, which hosts would playbook run against. file.yml - hosts: account tasks: - name: copy test.txt file copy: src: test.txt dest: /tmp/test.txt inventory file: [account] web1 10.0.0.1 web2 10.0.0.2

Answer :
  • account

In terms of Software Architecture, how many servers have Ansible?

Answer :
  • 2

Is it possible to write multiple modules in a single playbook?

Answer :
  • Yes