March 2019
Intermediate to advanced
412 pages
9h 49m
English
When Ansible parses a playbook, there are certain assumptions that can be made about the relative paths of items referenced by the statements in a playbook. In most cases, paths for things such as variable files to include, task files to include, playbook files to include, files to copy, templates to render, and scripts to execute, are all relative to the directory where the file referencing them resides. Let's explore this with an example playbook and directory listing to show where the files are:
.
├── a_vars_file.yaml
├── mastery-hosts
├── relative.yaml
└── tasks
├── a.yaml
└── b.yaml
--- something: "better than nothing" ...
Read now
Unlock full access