diff options
author | Harry Huang <huangxiangyu5@huawei.com> | 2017-07-20 20:17:36 +0800 |
---|---|---|
committer | Harry Huang <huangxiangyu5@huawei.com> | 2017-07-24 10:33:30 +0800 |
commit | 069835924120224ec46fc40877c89ac48608a6f5 (patch) | |
tree | 3e5e1e09affa32c648f766872fe441e0ae1d4dd1 /deploy/compass_conf/package_installer | |
parent | f12c7c6d19eb21cd99690271f4ef71794a24b683 (diff) |
Dynamic Inventory
JIRA: COMPASS-556
1. using dynamic ansible inventory
2. modify Class AnsibleInstaller in compass-tasks
3. modify compass conf to support this behavior
4. specify docker image in /deploy/conf/compass.conf
5. remove clusterhost status update in playbook_done.py
Change-Id: I04079547c8b251571ae4e5b165d3bf425b8913b7
Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
Diffstat (limited to 'deploy/compass_conf/package_installer')
-rwxr-xr-x | deploy/compass_conf/package_installer/ansible-ocata.conf | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/deploy/compass_conf/package_installer/ansible-ocata.conf b/deploy/compass_conf/package_installer/ansible-ocata.conf index 45e7cbe5..0286b4eb 100755 --- a/deploy/compass_conf/package_installer/ansible-ocata.conf +++ b/deploy/compass_conf/package_installer/ansible-ocata.conf @@ -5,7 +5,9 @@ SETTINGS = { 'ansible_run_dir': '/var/ansible/run', 'ansible_config': 'ansible.cfg', 'playbook_file': 'site.yml', - 'inventory_file': 'inventory.yml', + 'inventory_file': 'inventory.py', + 'inventory_json_file': 'inventory.json', + 'inventory_group': ['controller', 'compute', 'ha', 'odl', 'onos', 'opencontrail', 'ceph_adm', 'ceph_mon', 'ceph_osd'], 'group_variable': 'all', 'etc_hosts_path': 'roles/pre-openstack/templates/hosts', 'runner_dirs': ['roles','openstack_ocata/templates','openstack_ocata/roles'] |