Give neutron the nova credentials...

it needs. And also force re downloading of all docker images.
This commit is contained in:
Egon Rijpkema 2017-08-17 15:50:39 +02:00
parent d964c29c06
commit 803451d490
5 changed files with 7 additions and 0 deletions

View File

@ -6,6 +6,7 @@
- name: pull docker image - name: pull docker image
docker_image: docker_image:
name: "{{ docker_image }}" name: "{{ docker_image }}"
force: True
tags: pull tags: pull
- name: install service file. - name: install service file.

View File

@ -22,6 +22,7 @@
- name: pull docker image - name: pull docker image
docker_image: docker_image:
name: "{{ docker_image }}" name: "{{ docker_image }}"
force: True
tags: pull tags: pull
- name: install service file. - name: install service file.

View File

@ -11,6 +11,7 @@
- name: pull docker image - name: pull docker image
docker_image: docker_image:
name: "{{ docker_image }}" name: "{{ docker_image }}"
force: True
tags: pull tags: pull
- set_fact: - set_fact:
@ -23,6 +24,8 @@
-e "MYSQL_ROOT_PASSWORD={{ secrets['MYSQL_ROOT_PASSWORD'] }}" -e "MYSQL_ROOT_PASSWORD={{ secrets['MYSQL_ROOT_PASSWORD'] }}"
-e "NEUTRON_PASSWORD={{ secrets['NEUTRON_PASSWORD'] }}" -e "NEUTRON_PASSWORD={{ secrets['NEUTRON_PASSWORD'] }}"
-e "NEUTRON_USER=neutron" -e "NEUTRON_USER=neutron"
-e "NOVA_USER=nova"
-e "NOVA_PASSWORD={{ secrets['NOVA_PASSWORD'] }}"
-e "NOVA_CONTROLLER_HOST={{ hostvars[groups['nova-controller'][0]]['ansible_default_ipv4']['address'] }}" -e "NOVA_CONTROLLER_HOST={{ hostvars[groups['nova-controller'][0]]['ansible_default_ipv4']['address'] }}"
-e "NOVA_PLACEMENT_PASSWORD={{ secrets['NOVA_PLACEMENT_PASSWORD'] }}" -e "NOVA_PLACEMENT_PASSWORD={{ secrets['NOVA_PLACEMENT_PASSWORD'] }}"
-e "NOVA_PLACEMENT_USER=placement" -e "NOVA_PLACEMENT_USER=placement"

View File

@ -12,6 +12,7 @@
- name: pull docker image - name: pull docker image
docker_image: docker_image:
name: "{{ docker_image }}" name: "{{ docker_image }}"
force: True
tags: pull tags: pull
- name: install service file. - name: install service file.

View File

@ -39,6 +39,7 @@
- name: pull docker image - name: pull docker image
docker_image: docker_image:
name: "{{ docker_image }}" name: "{{ docker_image }}"
force: True
tags: pull tags: pull
- name: install service file. - name: install service file.