This repository has been archived by the owner on Feb 29, 2024. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add per host groups to dynamic inventory
Currently you can only run ad-hoc commands against roles, e.g groups of nodes (unless, perhaps you have all the nodes in dns or the undercloud hosts file). We can add groups for each node, such that the nodes are accessible via both the node name (as displayed e.g via nova list) and the IP, e.g ansible -i /usr/bin/tripleo-ansible-inventory overcloud-controller-0 -m shell -a 'uname -a' This may also be useful for performing rolling updates via ansible in future. Depends-On: I61efac5634e9b6fbb820e693c71a0adae5fa8b6a Change-Id: I40192f009812ae9fa2bdc44d59d8b4e241318f39
- Loading branch information
Steven Hardy
committed
May 23, 2017
1 parent
37d25a0
commit 60f9257
Showing
2 changed files
with
108 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters