summaryrefslogtreecommitdiffstats
path: root/playbooks/openstack/openshift-cluster/files
diff options
context:
space:
mode:
authorJason DeTiberus <detiber@gmail.com>2016-05-25 09:54:36 -0400
committerJason DeTiberus <detiber@gmail.com>2016-05-25 09:54:36 -0400
commit00eba039c9312fbd04cc05a8a890ef48f2311769 (patch)
tree3ad1665eb4731687c5b8cdcafde9ce00aefe3865 /playbooks/openstack/openshift-cluster/files
parent82d3a4bac81d67d8575279fe99352700d65ca7f6 (diff)
parent4f4c4f038f4df910a33c0c1ab3bc8b2179f4a764 (diff)
downloadopenshift-00eba039c9312fbd04cc05a8a890ef48f2311769.tar.gz
openshift-00eba039c9312fbd04cc05a8a890ef48f2311769.tar.bz2
openshift-00eba039c9312fbd04cc05a8a890ef48f2311769.tar.xz
openshift-00eba039c9312fbd04cc05a8a890ef48f2311769.zip
Merge pull request #1773 from detiber/aws_cleanup
Cloud provider cleanup
Diffstat (limited to 'playbooks/openstack/openshift-cluster/files')
-rw-r--r--playbooks/openstack/openshift-cluster/files/heat_stack.yaml8
1 files changed, 7 insertions, 1 deletions
diff --git a/playbooks/openstack/openshift-cluster/files/heat_stack.yaml b/playbooks/openstack/openshift-cluster/files/heat_stack.yaml
index 2f05c3adc..1d54a9c39 100644
--- a/playbooks/openstack/openshift-cluster/files/heat_stack.yaml
+++ b/playbooks/openstack/openshift-cluster/files/heat_stack.yaml
@@ -591,11 +591,17 @@ resources:
type: OS::Heat::MultipartMime
properties:
parts:
- - config: { get_file: user-data }
- config:
str_replace:
template: |
#cloud-config
+ disable_root: true
+
+ system_info:
+ default_user:
+ name: openshift
+ sudo: ["ALL=(ALL) NOPASSWD: ALL"]
+
write_files:
- path: /etc/sudoers.d/00-openshift-no-requiretty
permissions: 440