From ebfe08b9eff4977e0c667bfa71c0f486ce3643a6 Mon Sep 17 00:00:00 2001 From: Wayne Warren Date: Wed, 15 Aug 2018 19:51:41 -0500 Subject: [PATCH] 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 --- multi-node-aio/playbooks/deploy-osa.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/multi-node-aio/playbooks/deploy-osa.yml b/multi-node-aio/playbooks/deploy-osa.yml index 7ca06ab1..68accc87 100644 --- a/multi-node-aio/playbooks/deploy-osa.yml +++ b/multi-node-aio/playbooks/deploy-osa.yml @@ -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: