Merge "Remove unncessary tasks from cli-update-deployment-plan.yaml"

This commit is contained in:
Zuul 2020-07-21 16:02:06 +00:00 committed by Gerrit Code Review
commit 680b4ea1c3
1 changed files with 0 additions and 34 deletions

View File

@ -22,45 +22,11 @@
any_errors_fatal: true any_errors_fatal: true
vars: vars:
container: overcloud container: overcloud
source_url: null
generate_passwords: true generate_passwords: true
reset_passwords: false reset_passwords: false
validate_stack: true
hide_sensitive_logs: true hide_sensitive_logs: true
handlers:
- name: Cleanup temp directory
file:
path: "{{ temp_dir.path }}"
state: absent
when: temp_dir is defined
tasks: tasks:
- name: Clone repo and upload templates
block:
- name: Create temp directory
tempfile:
state: directory
suffix: "{{ '_' + container + '_import' }}"
register: temp_dir
notify:
- "Cleanup temp directory"
when: source_url is not none
- name: Git clone remote url
git:
repo: "{{ source_url }}"
dest: "{{ temp_dir }}"
when: source_url is not none
- name: Upload templates
tripleo_templates_upload:
container: "{{ container }}"
templates_dir: "{{ temp_dir.path }}"
when: source_url is not none
when: source_url is not none
- name: Generate passwords if does not exist and update plan - name: Generate passwords if does not exist and update plan
tripleo_passwords_rotate: tripleo_passwords_rotate:
container: "{{ container }}" container: "{{ container }}"