diff options
author | chenshuai@huawei.com <chenshuai@huawei.com> | 2016-07-22 03:03:25 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@172.30.200.206> | 2016-07-22 03:03:25 +0000 |
commit | 066462ec9d7c5c19134cdafb74144244a336ccaf (patch) | |
tree | ca74174726c308b71b6b09aeabe7e14a5ac9479a /deploy | |
parent | 5adedcd8804e0e250bfba307d10f7039482eadda (diff) | |
parent | e342b6a5da6a8602e19721e30d3e0a2c44041e19 (diff) |
Merge "Add moon in Compass"
Diffstat (limited to 'deploy')
-rw-r--r-- | deploy/adapters/ansible/openstack_mitaka_xenial/HA-ansible-multinodes.yml | 12 | ||||
-rw-r--r-- | deploy/adapters/ansible/openstack_mitaka_xenial/roles/moon/tasks/keystone-moon-install.yml | 7 |
2 files changed, 12 insertions, 7 deletions
diff --git a/deploy/adapters/ansible/openstack_mitaka_xenial/HA-ansible-multinodes.yml b/deploy/adapters/ansible/openstack_mitaka_xenial/HA-ansible-multinodes.yml index d374086a..82888e36 100644 --- a/deploy/adapters/ansible/openstack_mitaka_xenial/HA-ansible-multinodes.yml +++ b/deploy/adapters/ansible/openstack_mitaka_xenial/HA-ansible-multinodes.yml @@ -228,12 +228,12 @@ roles: - odl_cluster_post -- hosts: controller - remote_user: root - accelerate: true - max_fail_percentage: 0 - roles: - - moon +#- hosts: controller +# remote_user: root +# accelerate: true +# max_fail_percentage: 0 +# roles: +# - moon - hosts: controller remote_user: root diff --git a/deploy/adapters/ansible/openstack_mitaka_xenial/roles/moon/tasks/keystone-moon-install.yml b/deploy/adapters/ansible/openstack_mitaka_xenial/roles/moon/tasks/keystone-moon-install.yml index 71315f82..a9b98c1a 100644 --- a/deploy/adapters/ansible/openstack_mitaka_xenial/roles/moon/tasks/keystone-moon-install.yml +++ b/deploy/adapters/ansible/openstack_mitaka_xenial/roles/moon/tasks/keystone-moon-install.yml @@ -2,8 +2,13 @@ # Note (asteroide): this part is specific but when Keystone-Moon packages will be installed in a true repository # we will not have to do that. + +- name: get image http server + shell: awk -F'=' '/compass_server/ {print $2}' /etc/compass.conf + register: http_server + - name: download keystone-moon packages - get_url: url=https://github.com/dthom/moon-bin/archive/master.zip dest=/tmp/master.zip mode=0444 + get_url: url="http://{{ http_server.stdout_lines[0] }}/packages/moon/master.zip" dest=/tmp/master.zip mode=0444 - name: extract keystone-moon packages unarchive: src=/tmp/master.zip dest=/tmp copy=no |