summaryrefslogtreecommitdiffstats
path: root/playbooks/libvirt/openshift-cluster/templates/user-data
diff options
context:
space:
mode:
authorRussell Teague <rteague@redhat.com>2017-08-24 13:30:20 -0400
committerRussell Teague <rteague@redhat.com>2017-08-25 10:52:10 -0400
commit7da3f730a2e2525190dc2c42661275f62891650c (patch)
tree4cec2053357f11406a63d267eb55542f2b681320 /playbooks/libvirt/openshift-cluster/templates/user-data
parentaffdabe9d5182fb2dca846f4a236aa3af112b68b (diff)
downloadopenshift-7da3f730a2e2525190dc2c42661275f62891650c.tar.gz
openshift-7da3f730a2e2525190dc2c42661275f62891650c.tar.bz2
openshift-7da3f730a2e2525190dc2c42661275f62891650c.tar.xz
openshift-7da3f730a2e2525190dc2c42661275f62891650c.zip
Remove unsupported playbooks and utilities
Diffstat (limited to 'playbooks/libvirt/openshift-cluster/templates/user-data')
-rw-r--r--playbooks/libvirt/openshift-cluster/templates/user-data43
1 files changed, 0 insertions, 43 deletions
diff --git a/playbooks/libvirt/openshift-cluster/templates/user-data b/playbooks/libvirt/openshift-cluster/templates/user-data
deleted file mode 100644
index fbcf7c886..000000000
--- a/playbooks/libvirt/openshift-cluster/templates/user-data
+++ /dev/null
@@ -1,43 +0,0 @@
-#cloud-config
-disable_root: true
-
-hostname: {{ item[0] }}
-fqdn: {{ item[0] }}.example.com
-
-mounts:
-- [ sdb ]
-
-users:
- - default
- - name: root
- ssh_authorized_keys:
- - {{ lookup('file', '~/.ssh/id_rsa.pub') }}
-
-system_info:
- default_user:
- name: openshift
- sudo: ["ALL=(ALL) NOPASSWD: ALL"]
-
-ssh_authorized_keys:
- - {{ lookup('file', '~/.ssh/id_rsa.pub') }}
-
-write_files:
- - path: /etc/sudoers.d/00-openshift-no-requiretty
- permissions: 440
- content: |
- Defaults:openshift !requiretty
- - path: /etc/sysconfig/docker-storage-setup
- owner: root:root
- permissions: '0644'
- content: |
- DEVS=/dev/sdb
- VG=docker_vg
- EXTRA_DOCKER_STORAGE_OPTIONS='--storage-opt dm.blkdiscard=true'
- - path: /etc/systemd/system/fstrim.timer.d/hourly.conf
- content: |
- [Timer]
- OnCalendar=hourly
-
-runcmd:
- - NETWORK_CONFIG=/etc/sysconfig/network-scripts/ifcfg-eth0; if ! grep DHCP_HOSTNAME ${NETWORK_CONFIG}; then echo 'DHCP_HOSTNAME="{{ item[0] }}.example.com"' >> ${NETWORK_CONFIG}; fi; pkill -9 dhclient; service network restart
- - systemctl enable --now fstrim.timer