Skip to content

Commit

Permalink
Fix Qinling deployment and reconfigure
Browse files Browse the repository at this point in the history
The "environment" variable set in config.yml and handlers/main.yml
has been removed to fix de deployment and the reconfigure.

Change-Id: I912cadb5113d5572235731863825588b2eb12759
  • Loading branch information
goldyfruit committed Jun 19, 2019
1 parent 8ce545e commit b1c28e9
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 4 deletions.
1 change: 0 additions & 1 deletion ansible/roles/qinling/defaults/main.yml
Expand Up @@ -29,7 +29,6 @@ qinling_services:
group: qinling-engine
enabled: true
image: "{{ qinling_engine_image_full }}"
environment: "{{ container_proxy }}"
volumes:
- "{{ node_config_directory }}/qinling-engine/:{{ container_config_directory }}/:ro"
- "/etc/localtime:/etc/localtime:ro"
Expand Down
2 changes: 0 additions & 2 deletions ansible/roles/qinling/handlers/main.yml
Expand Up @@ -14,7 +14,6 @@
name: "{{ service.container_name }}"
image: "{{ service.image }}"
volumes: "{{ service.volumes|reject('equalto', '')|list }}"
environment: "{{ service.environment }}"
dimensions: "{{ service.dimensions }}"
when:
- kolla_action != "config"
Expand All @@ -40,7 +39,6 @@
name: "{{ service.container_name }}"
image: "{{ service.image }}"
volumes: "{{ service.volumes|reject('equalto', '')|list }}"
environment: "{{ service.environment }}"
dimensions: "{{ service.dimensions }}"
when:
- kolla_action != "config"
Expand Down
1 change: 0 additions & 1 deletion ansible/roles/qinling/tasks/config.yml
Expand Up @@ -93,7 +93,6 @@
image: "{{ item.value.image }}"
volumes: "{{ item.value.volumes|reject('equalto', '')|list }}"
dimensions: "{{ item.value.dimensions }}"
environment: "{{ item.value.environment }}"
register: check_qinling_containers
when:
- kolla_action != "config"
Expand Down

0 comments on commit b1c28e9

Please sign in to comment.