Ansible tasks

Basically, a task is a single unit of provisioning. Each play must define the hosts on which the tasks will be executed. For example, here's the syntax to install apache using the yum command:

tasks:
- name: Install Apache Webserver
yum: pkg=httpd state=latest
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset