CORD-807
prep for removal of gradle from platform-install
refresh apt cache
improve SSH port check
add inventory for running on head node
copy of /opt/cord happens in cord repo now
fix how SSH pubkey is handled for LXD
fix perms during pki CA dir creation
PKI/credentials permissions
retry juju add-machine
checks/pauses to allow juju or containers to be ready
Change-Id: Iababb1bd8e464ae1d44c9b252d9bc07d66cf0872
diff --git a/roles/xos-install/tasks/main.yml b/roles/xos-install/tasks/main.yml
index 7154205..72c4aa0 100644
--- a/roles/xos-install/tasks/main.yml
+++ b/roles/xos-install/tasks/main.yml
@@ -17,19 +17,20 @@
- python-glanceclient
# ---- copy repos from the dev machine to the head node ----
+# note: this happens in the `cord` repo now
-- name: Create cord destination directory
- become: yes
- file:
- path: "{{ cord_dest_dir }}"
- state: directory
- mode: 0755
- owner: "{{ ansible_user_id }}"
+# - name: Create cord destination directory
+# become: yes
+# file:
+# path: "{{ cord_dest_dir }}"
+# state: directory
+# mode: 0755
+# owner: "{{ ansible_user_id }}"
-- name: Copy the whole repo tree
- synchronize:
- src: "{{ playbook_dir }}/../../../cord/"
- dest: "{{ cord_dest_dir }}/"
+# - name: Copy the whole repo tree
+# synchronize:
+# src: "{{ playbook_dir }}/../../../cord/"
+# dest: "{{ cord_dest_dir }}/"
- name: Create directory xos_services
file: