This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# vim: sw=4 ts=4 et | |
import argparse, atexit, click, datetime, getpass, iptools, jinja2, os, six, ssl, sys, uuid | |
from collections import defaultdict | |
from six.moves import configparser | |
from time import time | |
try: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"ociVersion": "1.0.0", | |
"platform": { | |
"os": "linux", | |
"arch": "amd64" | |
}, | |
"process": { | |
"terminal": false, | |
"user": {}, | |
"args": [ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- ks 2017-05-05 14:26:38.000000000 -0500 | |
+++ fixed_ks 2017-05-05 14:40:56.000000000 -0500 | |
@@ -118,5 +118,8 @@ | |
echo "Removing /root/anaconda-ks.cfg" | |
rm -f /root/anaconda-ks.cfg | |
+export LD_LIBRARY_PATH=/var/lib/containers/atomic/open-vm-tools/rootfs/usr/lib64/:$LD_LIBRARY_PATH >> /etc/profile.d/open-vm-tools.sh | |
+export PATH=/var/lib/containers/atomic/open-vm-tools/rootfs/usr/bin/:$PATH >> /etc/profile.d/open-vm-tools.sh | |
+ | |
%end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"ociVersion": "1.0.0", | |
"platform": { | |
"os": "linux", | |
"arch": "amd64" | |
}, | |
"process": { | |
"terminal": false, | |
"user": {}, | |
"args": [ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# red hat subscription name and password | |
rhel_subscription_user=sysengra | |
rhel_subscription_pass=24^gold | |
# Internal satellite 6 server | |
rhel_subscription_server= | |
# pool with openshift repo access | |
rhel_subscription_pool=Red Hat OpenShift Container Platform, Premium* |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ansible-playbook /usr/share/ansible/openshift-ansible/playbooks/byo/openshift-cluster/openshift-metrics.yml \ | |
-e openshift_master_metrics_public_url: "https://metrics.{{ osm_default_subdomain }}/hawkular/metrics" \ | |
-e openshift_hosted_metrics_storage_kind: nfs \ | |
-e openshift_hosted_metrics_storage_access_modes: ['ReadWriteOnce'] \ | |
-e openshift_hosted_metrics_storage_host: nfs-0.vcenter.e2e.bos.redhat.com \ | |
-e openshift_hosted_metrics_storage_nfs_directory: /exports \ | |
-e openshift_hosted_metrics_storage_volume_name: metrics \ | |
-e openshift_hosted_metrics_storage_volume_size: 10Gi |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
production_hosts: | |
master-1: | |
guestname: master-1 | |
tag: master | |
master-0: | |
guestname: master-0 | |
tag: master | |
master-2: | |
guestname: master-2 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
host_inventory: | |
infra-1: | |
guestname: infra-1 | |
tag: infra | |
ip4addr: 10.19.114.236 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
- hosts: new_nodes | |
gather_facts: yes | |
become: yes | |
serial: 1 | |
roles: | |
- instance-groups | |
- aws-rhsm-subscription | |
- hosts: new_nodes |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
- hosts: localhost | |
connection: local | |
gather_facts: no | |
become: no | |
vars_files: | |
- vars/main.yaml | |
roles: | |
# Group systems | |
- create-vm-crs-prod-ose |