From: Petr OspalĂ˝ 
Date: Fri, 15 Feb 2019 02:36:10 +0000 (+0100)
Subject: Fix site.yml playbook by removing the setup.yml
X-Git-Tag: 6.0.0-ONAP~310^2
X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F36%2F78536%2F2;p=oom%2Foffline-installer.git
Fix site.yml playbook by removing the setup.yml
setup.yml is an optional playbook which may be replaced by other means of
securing the passwordless login
Change-Id: Ia64eee6351e9cabc638149b5ed668885058aef89
Issue-ID: OOM-1661
Signed-off-by: Petr OspalĂ˝ 
---
diff --git a/ansible/site.yml b/ansible/site.yml
index db1281e1..0df534d0 100644
--- a/ansible/site.yml
+++ b/ansible/site.yml
@@ -1,10 +1,18 @@
 ---
 #
 # Master playbook to run offline installer.
-# Run this playbook e.g. with command: ./run_playbook.sh -e @application/application_configuration.yml
+# Run this playbook e.g. with command: ./run_playbook.sh -e @application/application_configuration.yml site.yml
 #
 
-- import_playbook: setup.yml
+# the setup.yml playbook is excluded from this list for the following reasons:
+# 1. setup.yml playbook requires either already deployed ssh key or
+#    --ask-pass argument to interactively distribute a new key, which may
+#    be a redundant effort if you already secured passwordless login
+# 2. Also, the setup.yml playbook is not mandatory and can be replaced with
+#    manual or semi-manual steps with ssh-copy-id command or other
+# 3. playbooks here are more or less batch jobs and the ssh authentication
+#    is a precondition, which should be done during configuration of the
+#    installer
 - import_playbook: upload_resources.yml
 - import_playbook: infrastructure.yml
 - import_playbook: rancher_kubernetes.yml