summaryrefslogtreecommitdiffstats
path: root/playbooks/gce/openshift-cluster/tasks
diff options
context:
space:
mode:
authorJason DeTiberus <detiber@gmail.com>2016-11-18 13:15:07 -0500
committerGitHub <noreply@github.com>2016-11-18 13:15:07 -0500
commit35519353258cd586426af48506390ff886d26cf2 (patch)
tree3802efe82eb39fc7ed519af2d787e6ba8833dfc7 /playbooks/gce/openshift-cluster/tasks
parent526a4b786c124aed2c218f434cf035133d6eb1bf (diff)
parent1908bdd84f8f001870dcd6451460fc529e31f16e (diff)
downloadopenshift-35519353258cd586426af48506390ff886d26cf2.tar.gz
openshift-35519353258cd586426af48506390ff886d26cf2.tar.bz2
openshift-35519353258cd586426af48506390ff886d26cf2.tar.xz
openshift-35519353258cd586426af48506390ff886d26cf2.zip
Merge pull request #2825 from jsuchenia/gce-escape-logname
Escape LOGNAME variable according to GCE rules #2736
Diffstat (limited to 'playbooks/gce/openshift-cluster/tasks')
-rw-r--r--playbooks/gce/openshift-cluster/tasks/launch_instances.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/playbooks/gce/openshift-cluster/tasks/launch_instances.yml b/playbooks/gce/openshift-cluster/tasks/launch_instances.yml
index b7604580c..87b30aee4 100644
--- a/playbooks/gce/openshift-cluster/tasks/launch_instances.yml
+++ b/playbooks/gce/openshift-cluster/tasks/launch_instances.yml
@@ -13,7 +13,7 @@
# unsupported in 1.9.+
#service_account_permissions: "datastore,logging-write"
tags:
- - created-by-{{ lookup('env', 'LOGNAME') |default(cluster, true) }}
+ - created-by-{{ lookup('env', 'LOGNAME') | regex_replace('[^a-z0-9]+', '') | default(cluster, true) }}
- environment-{{ cluster_env }}
- clusterid-{{ cluster_id }}
- host-type-{{ type }}