|
16 | 16 | - **Playbook**: a `YAML` file containing a series of procedures that should be automated.
|
17 | 17 | - **Task**: a block that defines a single procedure to be executed, e.g.: install a package.
|
18 | 18 | - **Module**: a module typically abstracts a system task, like dealing with packages or creating and changing files. Ansible has a multitude of built-in modules, but you can also create custom ones.
|
19 |
| -- **Role**: a set of related playbooks, templates and other files, organized in a pre-defined way to facilitate reuse and share. |
| 19 | +- **Role**: a set of related playbooks, templates and other files, organized in a pre-defined way to facilitate reuse and sharing. |
20 | 20 | - **Play**: a provisioning executed from start to finish is called a play.
|
21 | 21 | - **Facts**: global variables containing information about the system, like network interfaces or operating system.
|
22 | 22 | - **Handlers**: used to trigger service status changes, like restarting or reloading a service.
|
|
26 | 26 | - selects machines to execute against from inventory
|
27 | 27 | - connects to those machines (or network devices, or other managed nodes), usually over SSH
|
28 | 28 | - copies one or more modules to the remote machines and starts execution there
|
29 |
| -- Working With Modules |
| 29 | +- Working with Modules |
30 | 30 | - Ansible ships with a number of modules (called the ‘module library’) that can be executed directly on remote hosts or through Playbooks.
|
31 | 31 | - Users can also write their own modules. These modules can control system resources, like services, packages, or files (anything really), or handle executing system commands.
|
32 | 32 |
|
33 | 33 | ### Resources:
|
34 | 34 | - [Ansible Documentation](https://docs.ansible.com/)
|
35 | 35 | - [Configuration Management 101: Writing Ansible Playbooks](https://www.digitalocean.com/community/tutorials/configuration-management-101-writing-ansible-playbooks)
|
36 |
| -- [Why you might need Ansible and not even know it](https://www.freecodecamp.org/news/why-you-might-need-ansible-and-not-even-know-it-d33b6e4b2ebe/) |
| 36 | +- [Why you might need Ansible and not even know it](https://www.freecodecamp.org/news/why-you-might-need-ansible-and-not-even-know-it-d33b6e4b2ebe/) |
| 37 | +- [Learning Ansible basics](https://www.redhat.com/en/topics/automation/learning-ansible-tutorial) |
0 commit comments