summaryrefslogtreecommitdiffstats
path: root/playbooks/openstack/openshift-cluster/files
diff options
context:
space:
mode:
authorLénaïc Huard <lhuard@amadeus.com>2016-03-23 14:39:22 +0100
committerLénaïc Huard <lhuard@amadeus.com>2016-04-01 17:35:24 +0200
commit51b2ebf46694e0dc51ef56985a54112ed3933017 (patch)
treeebe0c4b41a51dbab6cddfd2b60b2b7460ba7cf67 /playbooks/openstack/openshift-cluster/files
parentb7ed298359eaa69b1c00acd0edd101511765c6ea (diff)
downloadopenshift-51b2ebf46694e0dc51ef56985a54112ed3933017.tar.gz
openshift-51b2ebf46694e0dc51ef56985a54112ed3933017.tar.bz2
openshift-51b2ebf46694e0dc51ef56985a54112ed3933017.tar.xz
openshift-51b2ebf46694e0dc51ef56985a54112ed3933017.zip
Enable Ansible ssh pipelining to speedup deployment
https://docs.ansible.com/ansible/intro_configuration.html#pipelining
Diffstat (limited to 'playbooks/openstack/openshift-cluster/files')
-rw-r--r--playbooks/openstack/openshift-cluster/files/heat_stack.yaml4
-rw-r--r--playbooks/openstack/openshift-cluster/files/user-data6
2 files changed, 10 insertions, 0 deletions
diff --git a/playbooks/openstack/openshift-cluster/files/heat_stack.yaml b/playbooks/openstack/openshift-cluster/files/heat_stack.yaml
index af774aa32..dd6a22cbe 100644
--- a/playbooks/openstack/openshift-cluster/files/heat_stack.yaml
+++ b/playbooks/openstack/openshift-cluster/files/heat_stack.yaml
@@ -598,6 +598,10 @@ resources:
template: |
#cloud-config
write_files:
+ - path: /etc/sudoers.d/00-openshift-no-requiretty
+ permissions: 440
+ content: |
+ Defaults:openshift !requiretty
- path: /etc/sysconfig/network-scripts/ifcfg-eth0
content: |
DEVICE="eth0"
diff --git a/playbooks/openstack/openshift-cluster/files/user-data b/playbooks/openstack/openshift-cluster/files/user-data
index e789a5b69..eb65f7cec 100644
--- a/playbooks/openstack/openshift-cluster/files/user-data
+++ b/playbooks/openstack/openshift-cluster/files/user-data
@@ -5,3 +5,9 @@ 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