summaryrefslogtreecommitdiffstats
path: root/playbooks/openstack
diff options
context:
space:
mode:
authorBogdan Dobrelya <bdobreli@redhat.com>2018-02-12 15:39:23 +0100
committerBogdan Dobrelya <bdobreli@redhat.com>2018-02-12 15:39:23 +0100
commitaafbd31f00f48ee9e3e1aaea8f5f316669262872 (patch)
tree9fc655ca3225eaf505d643de0483360f73fec8e3 /playbooks/openstack
parentb9bbcca63fe9bd6cc89846ecfdac548384489fce (diff)
downloadopenshift-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/openstack')
-rw-r--r--playbooks/openstack/advanced-configuration.md6
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