Make OSA repo clone optional
I am working on an experimental approach to running the MNAIO playbooks in a local docker container with osa and osa-ops already checked out and volume-mounted into the docker container. This change supports that approach by making the git clone step optional in the deploy-osa.yml playbook. Also, don't force update the OSA repo. Change-Id: I5312e88d4f41033a223d145e72f0767be45adda1
This commit is contained in:
parent
1d6c01ee57
commit
ebfe08b9ef
@ -37,9 +37,9 @@
|
|||||||
repo: "{{ osa_repo | default('https://git.openstack.org/openstack/openstack-ansible') }}"
|
repo: "{{ osa_repo | default('https://git.openstack.org/openstack/openstack-ansible') }}"
|
||||||
dest: /opt/openstack-ansible
|
dest: /opt/openstack-ansible
|
||||||
version: "{{ osa_branch | default('master') }}"
|
version: "{{ osa_branch | default('master') }}"
|
||||||
force: true
|
|
||||||
when:
|
when:
|
||||||
- pre_config_osa | default(true) | bool
|
- pre_config_osa | default(true) | bool
|
||||||
|
- clone_osa | default(true) | bool
|
||||||
|
|
||||||
- name: Create OSA configuration directory
|
- name: Create OSA configuration directory
|
||||||
file:
|
file:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user