123456789101112131415161718192021222324252627 |
- ---
- - name: Collect control_plane host inventory
- hosts: localhost
- connection: local
- gather_facts: false
- roles:
- - collect_node_info
- - import_playbook: "{{ playbook_dir }}/roles/collect_node_info/files/create_inventory.yml"
- vars:
- host_username: "{{ hostvars['127.0.0.1']['host_username'] }}"
- host_password: "{{ hostvars['127.0.0.1']['provision_password'] }}"
- mapping_file: "{{ hostvars['127.0.0.1']['mapping_file'] | bool }}"
|