This file contains 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
mkdir CURLMOLA |
This file contains 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
echo "Hola mundo" |
This file contains 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
touch quieroungintonic |
This file contains 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
echo holaqase | |
echo $1 | |
echo $2 |
This file contains 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
#!/bin/bash | |
# Small Script for install IPI OCP4 automatically | |
set -e | |
set -o pipefail | |
usage() { | |
echo "Usage: $0 [ -a aws_secret_key_id ] [ -s aws_secret_access_key ] [ -o ocp_version ] [ -r aws_region ]" 1>&2 | |
} |
This file contains 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
#!/bin/bash | |
## Workaround for fix the bug | |
## https://github.com/ansible/workshops/pull/498/files | |
sudo yum-config-manager --disable rhui-REGION-rhel-server-extras | |
sudo yum-config-manager --disable rhui-REGION-rhel-server-rhscl | |
sed -i.bak 's/rhui-REGION-rhel-server-extras/rhel-7-server-rhui-extras-rpms/g' roles/repos_el/vars/RedHat-7.yml | |
sed -i.bak 's/rhui-REGION-rhel-server-rhscl/rhel-server-rhui-rhscl-7-rpms/g' roles/repos_el/vars/RedHat-7.yml |
This file contains 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
# | |
# Namespace used for sandboxing | |
# | |
--- | |
apiVersion: v1 | |
kind: Namespace | |
metadata: | |
creationTimestamp: null | |
name: demo-ocs-workloads |
This file contains 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/python | |
import socket | |
import time | |
retry = 2 | |
delay = 1 | |
timeout = 1 | |
ips = {} |
This file contains 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 ansible-playbook | |
# Installs the company specific virtual environments for Python properly | |
# into the Tower environment following the Ansible Tower environment notes: | |
# URL: https://docs.ansible.com/ansible-tower/3.3.4/html/upgrade-migration-guide/virtualenv.html | |
# | |
# NOTE: Requires the EPEL repository to install the python2-pip package. | |
# | |
# Usage: | |
# $ sudo ./setup_venvs.yml -i inventory.sand_swn01.ini | |
# |
This file contains 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 bash | |
export REGION="eu-west-1" | |
export AZS="${REGION}a ${REGION}b ${REGION}c" | |
export FLAVOR="m5.metal" | |
MACHINESET_PREFIX=$(oc get machineset -n openshift-machine-api -o json| jq '.items[0].metadata.labels."machine.openshift.io/cluster-api-cluster"' | tr -d '""') | |
for AZ in ${AZS}; do | |
export NAME="${MACHINESET_PREFIX}-metal-${AZ}" |
OlderNewer