Guidelines for playbook: File dependencies
Intro
There are cases, where the playbook task requires specific files in order to run. For example, the get_uptime_low_reason.yaml requires show-system-files.awk and search_file.py.j2
The files need to be located inside the files folder under the playbook folder.
Development
The files will be located under indeni-knowledge repository, under:
indeni-knowledge/automation/playbooks/files |
Deployment
Similar to the rules, the files will be copied to indeni-knowledge folder, under:
/usr/share/indeni-knowledge/stable/automation/playbooks/files |
Whenever IKE’s would like to run/test new playbook, they will be able to copy the playbook to the path and test it.