We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Testing with Tower 3.8.4-1 and Ansible 2.9.25.
The tower_inventory role has a step to refresh the inventory:
- name: refresh_inventory meta: refresh_inventory
When running any of the *_standup or *_failover playbooks, the tower.ini is getting updated with the appropriate inventory file:
*_standup
*_failover
TASK [tower_inventory : debug] ***************************************************************************************************************** ok: [localhost -> localhost] => msg: setting inventory to inventory_ha_dr/inventory_pm TASK [tower_inventory : populate inventory ini with inventory_ha_dr/inventory_pm] ************************************************************** ok: [localhost -> localhost]
But the inventory is not refreshed. As a result the following plays will skip with no matching hosts.
To workaround the issue you can run ansible-playbook with -i inventory_ha_dr/inventory_pm (or whichever inventory file you need to use).
ansible-playbook
-i inventory_ha_dr/inventory_pm
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Testing with Tower 3.8.4-1 and Ansible 2.9.25.
The tower_inventory role has a step to refresh the inventory:
When running any of the
*_standup
or*_failover
playbooks, the tower.ini is getting updated with the appropriate inventory file:But the inventory is not refreshed. As a result the following plays will skip with no matching hosts.
To workaround the issue you can run
ansible-playbook
with-i inventory_ha_dr/inventory_pm
(or whichever inventory file you need to use).The text was updated successfully, but these errors were encountered: