rebuild xos-base image in xos-vm-install role playbook
run, which happens async to juju setup
(whitespace fix)
async testclient install
change single-node-pod.sh to use platform-install repo
reformat and minor fixes to README.md
pull xosproject/cord-app-build inside async xos-vm-install role
whitespace fixes v2
fix path for container build
don't start testclient container before databr has been plumbed
fix context
allow xos-vm-install to run longer as it's rebuilding base
daemonize lxc-start for testcliet, avoiding a hang
Change-Id: Icb5da9b69e942aaa79c8256ca5775219f63643d1
diff --git a/roles/docker-compose/tasks/main.yml b/roles/docker-compose/tasks/main.yml
index efb310a..5f1da1d 100644
--- a/roles/docker-compose/tasks/main.yml
+++ b/roles/docker-compose/tasks/main.yml
@@ -30,3 +30,12 @@
- name: Copy admin-openrc.sh into XOS container
command: ansible xos-1 -u ubuntu -m copy \
-a "src=~/admin-openrc.sh dest={{ service_profile_repo_dest }}/{{ xos_configuration }}"
+
+- name: Wait for test client to complete installation
+ when: test_client_install
+ async_status: jid={{ test_client_playbook.ansible_job_id }}
+ register: test_client_playbook_result
+ until: test_client_playbook_result.finished
+ delay: 10
+ retries: 120
+