diff options
author | Bogdan Dobrelya <bdobreli@redhat.com> | 2018-02-12 15:39:23 +0100 |
---|---|---|
committer | Bogdan Dobrelya <bdobreli@redhat.com> | 2018-02-12 15:39:23 +0100 |
commit | aafbd31f00f48ee9e3e1aaea8f5f316669262872 (patch) | |
tree | 9fc655ca3225eaf505d643de0483360f73fec8e3 /playbooks | |
parent | b9bbcca63fe9bd6cc89846ecfdac548384489fce (diff) | |
download | openshift-aafbd31f00f48ee9e3e1aaea8f5f316669262872.tar.gz openshift-aafbd31f00f48ee9e3e1aaea8f5f316669262872.tar.bz2 openshift-aafbd31f00f48ee9e3e1aaea8f5f316669262872.tar.xz openshift-aafbd31f00f48ee9e3e1aaea8f5f316669262872.zip |
Fix openshift_openstack_provision_user_commands
Signed-off-by: Bogdan Dobrelya <bdobreli@redhat.com>
Diffstat (limited to 'playbooks')
-rw-r--r-- | playbooks/openstack/advanced-configuration.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/playbooks/openstack/advanced-configuration.md b/playbooks/openstack/advanced-configuration.md index a690f2d45..8df3c40b0 100644 --- a/playbooks/openstack/advanced-configuration.md +++ b/playbooks/openstack/advanced-configuration.md @@ -273,7 +273,7 @@ openshift_openstack_cluster_node_labels: mylabel: myvalue ``` -`openshift_openstack_cloud_init_runcmd` allows users to execute +`openshift_openstack_provision_user_commands` allows users to execute shell commands via cloud-init for all of the created Nova servers in the Heat stack, before they are available for SSH connections. Note that you should use custom ansible playbooks whenever @@ -293,7 +293,7 @@ The playbook leverages a two existing provider interfaces: `provision.yml` and servers, the cloud-init runcmd directive may be a better choice though. User specified shell commands for cloud-init need to be either strings or lists, for example: ``` -- openshift_openstack_cloud_init_runcmd: +- openshift_openstack_provision_user_commands: - set -vx - systemctl stop sshd # fences off ansible playbooks as we want to reboot later - ['echo', 'foo', '>', '/tmp/foo'] @@ -302,7 +302,7 @@ shell commands for cloud-init need to be either strings or lists, for example: ``` **Note** To protect Nova servers from recreating when the user-data changes via -`openshift_openstack_cloud_init_runcmd`, the +`openshift_openstack_provision_user_commands`, the `user_data_update_policy` parameter configured to `IGNORE` for Heat resources. The `openshift_openstack_nodes_to_remove` allows you to specify the numerical indexes |