summaryrefslogtreecommitdiffstats
path: root/playbooks/openstack
diff options
context:
space:
mode:
authorJason DeTiberus <jdetiber@redhat.com>2016-05-05 21:34:26 -0400
committerJason DeTiberus <jdetiber@redhat.com>2016-05-05 21:34:26 -0400
commit31be08a7e02c64c3ac59c6a6b0fc26e714f3e6ab (patch)
tree60d0c77c826881e99e4d17bae42980e1197145b0 /playbooks/openstack
parent432b3d970cbf22715b5f9349863ab5a396c64d2f (diff)
downloadopenshift-31be08a7e02c64c3ac59c6a6b0fc26e714f3e6ab.tar.gz
openshift-31be08a7e02c64c3ac59c6a6b0fc26e714f3e6ab.tar.bz2
openshift-31be08a7e02c64c3ac59c6a6b0fc26e714f3e6ab.tar.xz
openshift-31be08a7e02c64c3ac59c6a6b0fc26e714f3e6ab.zip
add user-data file back to openstack provisioner
Diffstat (limited to 'playbooks/openstack')
-rw-r--r--playbooks/openstack/openshift-cluster/files/user-data13
1 files changed, 13 insertions, 0 deletions
diff --git a/playbooks/openstack/openshift-cluster/files/user-data b/playbooks/openstack/openshift-cluster/files/user-data
new file mode 100644
index 000000000..eb65f7cec
--- /dev/null
+++ b/playbooks/openstack/openshift-cluster/files/user-data
@@ -0,0 +1,13 @@
+#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
+ content: |
+ Defaults:openshift !requiretty