diff options
author | Markos Chandras <mchandras@suse.de> | 2018-06-15 09:07:41 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2018-06-15 09:07:41 +0000 |
commit | 1587bba364bc67000b849a5f5af21472e0966435 (patch) | |
tree | fa7670dcf34bdb95ec14434796b4f0ae0847e191 /xci/playbooks | |
parent | 69a1e8166c37b93dd354509368dfe5c9952b9cda (diff) | |
parent | 2f86562623057e8309b39d2b53e79bdb7c3fc06a (diff) |
Merge "xci: dynamic_inventory: Add new entry for deployment_host"
Diffstat (limited to 'xci/playbooks')
-rwxr-xr-x | xci/playbooks/dynamic_inventory.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/xci/playbooks/dynamic_inventory.py b/xci/playbooks/dynamic_inventory.py index b5c4609b..bf9483da 100755 --- a/xci/playbooks/dynamic_inventory.py +++ b/xci/playbooks/dynamic_inventory.py @@ -53,6 +53,11 @@ class XCIInventory(object): self.opnfv_networks['opnfv']['storage'] = {} self.opnfv_networks['opnfv']['storage']['address'] = '172.29.244.10/24' + # Add localhost + self.add_host('deployment_host') + self.add_hostvar('deployment_host', 'ansible_ssh_host', '127.0.0.1') + self.add_hostvar('deployment_host', 'ansible_connection', 'local') + self.read_pdf_idf() self.parse_args() |