Skip to content
This repository has been archived by the owner on Aug 11, 2021. It is now read-only.

Commit

Permalink
updated for 3.10
Browse files Browse the repository at this point in the history
  • Loading branch information
VeerMuchandi committed Oct 22, 2018
1 parent 639d8ef commit aa22f26
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 8 deletions.
4 changes: 2 additions & 2 deletions hostprep_scripts/configure-storage.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
---
- hosts: nodes
- hosts: master
# remote_user: veer
# become: True
# become_method: sudo
remote_user: root
vars:
storage_mount: /dev/sdd
storage_mount: /dev/xvdc
tasks:
- name: Create a physical volume and volume group
lvg: pvs={{ storage_mount }} state=present vg=vg-storage
Expand Down
6 changes: 2 additions & 4 deletions hostprep_scripts/hosts.openshiftprep
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
[nodes]
10.0.0.4
10.0.0.5
10.0.0.6
10.0.0.7
ip-10-0-0-139.us-west-2.compute.internal
ip-10-0-0-83.us-west-2.compute.internal
6 changes: 6 additions & 0 deletions hostprep_scripts/node-reset.retry
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
10.0.0.107
10.0.0.136
10.0.0.142
10.0.0.162
10.0.0.242
10.0.0.99
2 changes: 1 addition & 1 deletion hostprep_scripts/node-reset.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# become_method: sudo
remote_user: root
vars:
docker_storage_mount: /dev/sdb
docker_storage_mount: /dev/xvdb

tasks:
- name: Stop OpenShift Node
Expand Down
2 changes: 2 additions & 0 deletions hostprep_scripts/openshifthostprep.retry
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
ip-10-0-0-139.us-west-2.compute.internal
ip-10-0-0-83.us-west-2.compute.internal
2 changes: 1 addition & 1 deletion hostprep_scripts/openshifthostprep.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@


- name: Insecure Registry Config
lineinfile: dest=/etc/sysconfig/docker regexp="^OPTIONS" line=OPTIONS='--selinux-enabled --insecure-registry 172.30.0.0/16 --log-opt max-size=1M --log-opt max-file=3 --authorization-plugin=docker-novolume-plugin' backup=yes backrefs=yes state=present
lineinfile: dest=/etc/sysconfig/docker regexp="^OPTIONS" line=OPTIONS='--selinux-enabled --insecure-registry 172.30.0.0/16 --log-opt max-size=1M --log-opt max-file=3' backup=yes backrefs=yes state=present
register: dockerConfigUpdated

- name: Remove docker-storage-setup
Expand Down

0 comments on commit aa22f26

Please sign in to comment.