Skip to content
Snippets Groups Projects
Commit 3e45b2cb authored by Zuul's avatar Zuul Committed by Gerrit Code Review
Browse files

Merge "Use include_tasks instead of include"

parents 2744a798 b51eeed8
No related branches found
No related tags found
No related merge requests found
Showing
with 37 additions and 37 deletions
...@@ -32,5 +32,5 @@ ...@@ -32,5 +32,5 @@
when: when:
- not use_preconfigured_databases | bool - not use_preconfigured_databases | bool
- include: bootstrap_service.yml - include_tasks: bootstrap_service.yml
when: database.changed or use_preconfigured_databases | bool when: database.changed or use_preconfigured_databases | bool
--- ---
- include: register.yml - include_tasks: register.yml
when: inventory_hostname in groups['aodh-api'] when: inventory_hostname in groups['aodh-api']
- include: config.yml - include_tasks: config.yml
when: inventory_hostname in groups['aodh-api'] or when: inventory_hostname in groups['aodh-api'] or
inventory_hostname in groups['aodh-evaluator'] or inventory_hostname in groups['aodh-evaluator'] or
inventory_hostname in groups['aodh-listener'] or inventory_hostname in groups['aodh-listener'] or
inventory_hostname in groups['aodh-notifier'] inventory_hostname in groups['aodh-notifier']
- include: clone.yml - include_tasks: clone.yml
when: aodh_dev_mode | bool when: aodh_dev_mode | bool
- include: bootstrap.yml - include_tasks: bootstrap.yml
when: inventory_hostname in groups['aodh-api'] when: inventory_hostname in groups['aodh-api']
- name: Flush handlers - name: Flush handlers
......
--- ---
- include: "{{ kolla_action }}.yml" - include_tasks: "{{ kolla_action }}.yml"
--- ---
- include: deploy.yml - include_tasks: deploy.yml
--- ---
- include: config.yml - include_tasks: config.yml
- include: bootstrap_service.yml - include_tasks: bootstrap_service.yml
- name: Flush handlers - name: Flush handlers
meta: flush_handlers meta: flush_handlers
...@@ -32,5 +32,5 @@ ...@@ -32,5 +32,5 @@
when: when:
- not use_preconfigured_databases | bool - not use_preconfigured_databases | bool
- include: bootstrap_service.yml - include_tasks: bootstrap_service.yml
when: database.changed or use_preconfigured_databases | bool when: database.changed or use_preconfigured_databases | bool
--- ---
- include: register.yml - include_tasks: register.yml
when: inventory_hostname in groups['barbican-api'] when: inventory_hostname in groups['barbican-api']
- include: config.yml - include_tasks: config.yml
when: inventory_hostname in groups['barbican-api'] or when: inventory_hostname in groups['barbican-api'] or
inventory_hostname in groups['barbican-worker'] or inventory_hostname in groups['barbican-worker'] or
inventory_hostname in groups['barbican-keystone-listener'] inventory_hostname in groups['barbican-keystone-listener']
- include: clone.yml - include_tasks: clone.yml
when: barbican_dev_mode | bool when: barbican_dev_mode | bool
- include: bootstrap.yml - include_tasks: bootstrap.yml
when: inventory_hostname in groups['barbican-api'] when: inventory_hostname in groups['barbican-api']
- name: Flush handlers - name: Flush handlers
......
--- ---
- include: "{{ kolla_action }}.yml" - include_tasks: "{{ kolla_action }}.yml"
--- ---
- include: deploy.yml - include_tasks: deploy.yml
--- ---
- include: config.yml - include_tasks: config.yml
- include: bootstrap_service.yml - include_tasks: bootstrap_service.yml
- name: Flush handlers - name: Flush handlers
meta: flush_handlers meta: flush_handlers
--- ---
- include: pre-install.yml - include_tasks: pre-install.yml
- include: install.yml - include_tasks: install.yml
- include: post-install.yml - include_tasks: post-install.yml
--- ---
- include: "{{ kolla_action }}.yml" - include_tasks: "{{ kolla_action }}.yml"
--- ---
- include: config.yml - include_tasks: config.yml
- include: start.yml - include_tasks: start.yml
- include: bootstrap.yml - include_tasks: bootstrap.yml
--- ---
- include: "{{ kolla_action }}.yml" - include_tasks: "{{ kolla_action }}.yml"
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
with_items: with_items:
- { name: bifrost-deploy, group: bifrost-deploy } - { name: bifrost-deploy, group: bifrost-deploy }
- include: config.yml - include_tasks: config.yml
- name: Check the configs - name: Check the configs
command: docker exec {{ item.name }} /usr/local/bin/kolla_set_configs --check command: docker exec {{ item.name }} /usr/local/bin/kolla_set_configs --check
...@@ -49,7 +49,7 @@ ...@@ -49,7 +49,7 @@
- "{{ container_envs.results }}" - "{{ container_envs.results }}"
- "{{ check_results.results }}" - "{{ check_results.results }}"
- include: start.yml - include_tasks: start.yml
when: remove_containers.changed when: remove_containers.changed
- name: Restart containers - name: Restart containers
......
--- ---
- include: config.yml - include_tasks: config.yml
- include: start.yml - include_tasks: start.yml
...@@ -50,5 +50,5 @@ ...@@ -50,5 +50,5 @@
run_once: True run_once: True
delegate_to: "{{ groups['blazar-api'][0] }}" delegate_to: "{{ groups['blazar-api'][0] }}"
- include: bootstrap_service.yml - include_tasks: bootstrap_service.yml
when: database.changed when: database.changed
--- ---
- include: register.yml - include_tasks: register.yml
when: inventory_hostname in groups['blazar-api'] when: inventory_hostname in groups['blazar-api']
- include: config.yml - include_tasks: config.yml
when: inventory_hostname in groups['blazar-api'] or when: inventory_hostname in groups['blazar-api'] or
inventory_hostname in groups['blazar-manager'] inventory_hostname in groups['blazar-manager']
- include: clone.yml - include_tasks: clone.yml
when: blazar_dev_mode | bool when: blazar_dev_mode | bool
- include: bootstrap.yml - include_tasks: bootstrap.yml
when: inventory_hostname in groups['blazar-api'] when: inventory_hostname in groups['blazar-api']
- name: Flush handlers - name: Flush handlers
......
--- ---
- include: "{{ kolla_action }}.yml" - include_tasks: "{{ kolla_action }}.yml"
--- ---
- include: deploy.yml - include_tasks: deploy.yml
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment