...

/

Quiz: Major Concepts in Ansible

Quiz: Major Concepts in Ansible

Test your knowledge of some major concepts of Ansible like modules, tasks, playbooks, roles, and handlers.

We'll cover the following...
Technical Quiz
1.

Which code block defines an Ansible task that uses the apt module to install the postgresql-11 package on a managed node?

A.
- name: Install Postgres11
  apt:
    name: postgresql-11
    state: present
B.
- name: Install Postgres11
  apt:
    name: postgresql-11
    state: latest
C.
- name: Install Postgres11
  apt:
    name: postgresql-11
    state: installed
D.
- name: Install Postgres11
  apt-install:
    name: postgresql-11
    state: present

1 / 6
...