Skip to content

Commit 82a3001

Browse files
rootwmudge
authored andcommitted
Updated following review
1 parent 36057a1 commit 82a3001

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

centos7-init.sh

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1414
# See the License for the specific language governing permissions and
1515
# limitations under the License.
16+
1617
# This script sets up and environment suitable for running Ansible playbooks using Centos 7. It is distinct from the docker version of runner.
1718
# If you set any of the environment variables KUBECTL, AWS, GCLOUD, AZURE it will also install the relevant client libraries and dependencies for those operating modes.
1819

@@ -67,3 +68,11 @@ EOF
6768

6869
echo "Example command: "
6970
echo 'export ANSIBLE_LOG_PATH=~/ansible.log; ansible-playbook main.yml -e "definition_path=examples/sandbox" --ask-pass -vv -i examples/sandbox/inventory_static.ini'
71+
72+
cat <<SSH_HOST_KEY
73+
*** WARNING: SSH Host Key Checking is disabled by default. ***
74+
This setting may not be suitable for Production deployments.
75+
If you wish to enable host key checking, please set the Ansible environment
76+
variable, ANSIBLE_HOST_KEY_CHECKING, to True before execution. See the project
77+
documentation for further details on managing SSH host key checking.
78+
SSH_HOST_KEY

readme.adoc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@ toc::[]
2828
`-e "definition_path=examples/sandbox" \` +
2929
`-t run,default_cluster`
3030

31+
== Remote Execution
32+
Using the quickstart above will create you a pre-prepared container within which you can run the Ansible playbooks. If you are unable or unwilling to run Docker containers locally, or you wish to run the playbooks on a remote server, you can use the `centos7-init.sh` script, which will setup a similar environment with the right repositories and dependencies downloaded. All other instructions to run and configure the playbook remain the same.
33+
3134
== Configuration
3235

3336
Cloudera Deploy is powered by https://github.com/ansible/ansible[Ansible] and provides a standard configuration and execution model for CDP deployments and their applications. It can be run within a container or directly on a host.

0 commit comments

Comments
 (0)