move admin-openrc.sh copy from docker-compose to new role xos-config
Change-Id: I9d3b0d01485d19e756b6d9b339373fbc9874dc15
diff --git a/roles/xos-config/tasks/main.yml b/roles/xos-config/tasks/main.yml
new file mode 100644
index 0000000..9898d3e
--- /dev/null
+++ b/roles/xos-config/tasks/main.yml
@@ -0,0 +1,15 @@
+---
+# xos-head-start/tasks/main.yml
+
+# Performs any configuration of XOS that should be done right before starting
+# XOS. This includes copying the admin-openrc.sh, since we had to wait for juju
+# to finish before admin-openrc.sh was present.
+
+- name: Copy admin-openrc.sh to service-profile
+# command: cp ~/admin-openrc.sh {{ service_profile_repo_dest }}/{{ xos_configuration }}
+ copy:
+ remote_src=True
+ src=~/admin-openrc.sh
+ dest={{ service_profile_repo_dest }}/{{ xos_configuration }}
+
+