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/inventory/head-localhost b/inventory/head-localhost
new file mode 100644
index 0000000..6446998
--- /dev/null
+++ b/inventory/head-localhost
@@ -0,0 +1,7 @@
+; used to bootstrap CiaB configs
+
+[head]
+localhost ansible_connection=local
+
+[compute]
+; empty, but needed to avoid template issues