|
4 | 4 |
|
5 | 5 | *Automation wrappers for the Cloudera Ansible Collection* |
6 | 6 |
|
7 | | -Readme last updated: 2021-05-03 |
| 7 | +Readme last updated: 2021-05-10 |
8 | 8 |
|
9 | 9 | Cloudera Deploy is a toolset for deploying the Cloudera Data Platform (CDP). It's scope includes both Public and Private Cloud products and Base clusters, and application setup, execution and other post-deployment functions. |
10 | 10 |
|
@@ -104,6 +104,27 @@ For CDP Private Cloud you will need a valid Cloudera license file in order to do |
104 | 104 |
|
105 | 105 | If you are also using Public Cloud infrastructure to host your CDP Private Cloud clusters, then you will need those credentials as well. |
106 | 106 |
|
| 107 | +== SSH Host Key Checking |
| 108 | + |
| 109 | +For CDP Private Cloud clusters and other direct inventory scenarios, you will need to manage SSH host key validation appropriate to your specific environment. |
| 110 | + |
| 111 | +**Be advised!** By default, the `quickstart.sh` script explicitly sets the `ANSIBLE_HOST_KEY_CHECKING` variable to `False` for ease-of-use with an introductory deployment. However, this setting is *not recommended* for any other deployment type. **For all other deployment types, you should directly manage your SSH host key checking.** |
| 112 | + |
| 113 | +A common approach is to create your own "startup" script using the `quickstart.sh` as a template, and setting the appropriate https://docs.ansible.com/ansible/latest/reference_appendices/config.html[Ansible SSH configuration variables]. |
| 114 | + |
| 115 | +In some scenarios, for example, a reused pool of dynamic hosts within a development Openstack environment, you might wish to manage this control from your host machine's SSH config file. For example: |
| 116 | + |
| 117 | +[source] |
| 118 | +---- |
| 119 | +# ~/.ssh/config |
| 120 | +
|
| 121 | +# Disable host key checking only for your specific environment |
| 122 | +Host *.your.development.domain |
| 123 | + StrictHostKeyChecking no |
| 124 | +---- |
| 125 | + |
| 126 | +These settings will flow from your host to the Docker container's environment. |
| 127 | + |
107 | 128 | == Execution |
108 | 129 |
|
109 | 130 | Cloudera Deploy utilizes a single entrypoint playbook -- `main.yml` -- that examines the user-provided <<User Input Dependencies,profile>> details, a deployment <<Definitions, definition>>, and any optional Ansible `tags` and then runs the appropriate actions. At minimum, you execute a deployment like so: |
|
0 commit comments