Merge "Don't use swift for config download"
This commit is contained in:
commit
3085aa717d
@ -31,10 +31,6 @@
|
|||||||
config_dir: "{{ lookup('env', 'HOME') ~ '/tripleo-config' }}"
|
config_dir: "{{ lookup('env', 'HOME') ~ '/tripleo-config' }}"
|
||||||
when: config_dir is not defined
|
when: config_dir is not defined
|
||||||
|
|
||||||
- name: Set config_container
|
|
||||||
set_fact:
|
|
||||||
config_container: "{{ plan ~ '-config' }}"
|
|
||||||
|
|
||||||
- name: set work_dir
|
- name: set work_dir
|
||||||
set_fact:
|
set_fact:
|
||||||
work_dir: "{{ config_dir ~ '/' ~ plan }}"
|
work_dir: "{{ config_dir ~ '/' ~ plan }}"
|
||||||
@ -57,17 +53,5 @@
|
|||||||
plan: "{{ plan }}"
|
plan: "{{ plan }}"
|
||||||
config_container: "{{ config_container }}"
|
config_container: "{{ config_container }}"
|
||||||
config_type: "{{ config_type }}"
|
config_type: "{{ config_type }}"
|
||||||
download: false
|
work_dir: "{{ work_dir }}"
|
||||||
|
download: true
|
||||||
- name: Get temp url for archive
|
|
||||||
tripleo_swift_tempurl:
|
|
||||||
container: "{{ config_container }}"
|
|
||||||
object: "{{ config_container ~ '.tar.gz' }}"
|
|
||||||
method: GET
|
|
||||||
register: config_download_url
|
|
||||||
|
|
||||||
- name: Extract config download
|
|
||||||
unarchive:
|
|
||||||
src: "{{ config_download_url.tempurl }}"
|
|
||||||
dest: "{{ work_dir }}"
|
|
||||||
remote_src: true
|
|
||||||
|
Loading…
Reference in New Issue
Block a user