S
S
ser_rostr22019-03-15 11:44:02
YAML
ser_rostr2, 2019-03-15 11:44:02

Ansible AWX Dynamic change of hosts included in master playbook?

---
- import_playbook: 1.yml
- import_playbook: 2.yml
- import_playbook: 3.yml
is it possible to pass different hosts from the master playbook to the inherited ones?
An example is this, in AWX in Templates I create a template with a master.yml playbook, I include 3 different playbooks in it, then I want to
transfer (a list of hosts or a separate host from inventory) when starting the playbook via awx-template-limit . .yml I need to leave the static host that is there
in 2.yml, take the host from limit and add _ssh to its name and pass it to 2.yml
in 3.yml, take the pure one that was passed to awx-template-limit5c8b65a120828648701399.jpeg

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question