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:
Wayne Warren 2018-08-15 19:51:41 -05:00
parent 1d6c01ee57
commit ebfe08b9ef

View File

@ -37,9 +37,9 @@
repo: "{{ osa_repo | default('https://git.openstack.org/openstack/openstack-ansible') }}"
dest: /opt/openstack-ansible
version: "{{ osa_branch | default('master') }}"
force: true
when:
- pre_config_osa | default(true) | bool
- clone_osa | default(true) | bool
- name: Create OSA configuration directory
file: