TASK [Rendering Inventory] ***********************************************************************************************************************************
fatal: [jp_infra.cnv.rhevm.eng.lab.tlv.redhat.com -> localhost]: FAILED! => {"changed": false, "checksum": "aa59d683c0eb5eb71d6a80e787c5ced7403e864d", "msg": "Aborting, target uses selinux but python bindings (libselinux-python) aren't installed!"}
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
| #!/bin/bash | |
| NAMESPACE=${1:-summit} | |
| CLUSTERNAME=${2:-summit} | |
| BASE_METALKUBE=`pwd` | |
| function login { | |
| if [[ -d "$BASE_METALKUBE/ocp/auth/" ]]; then | |
| KUBEADMIN_PASS=`cat ${BASE_METALKUBE}/ocp/auth/kubeadmin-password` |
This button is based on openshift/release and this one on openshift-ansible
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
| [global] | |
| monitor = 0 | |
| follow = mouse | |
| geometry = "200x5-6+30" | |
| indicate_hidden = yes | |
| shrink = no | |
| transparency = 0 | |
| notification_height = 0 | |
| separator_height = 2 | |
| padding = 10 |
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 bash | |
| # Depends on: xdotool, wmctrl | |
| FOCUSED=$(wmctrl -lp | grep $(xprop -root | grep _NET_ACTIVE_WINDOW | head -1 | awk '{print $5}' | sed 's/,//' | sed 's/^0x/0x0/')) | |
| if [[ -z $FOCUSED ]]; then | |
| FOCUSED=$(wmctrl -lp | grep $(xprop -root | grep _NET_ACTIVE_WINDOW | head -1 | awk '{print $5}' | sed 's/,//' | sed 's/^0x/0x00/')) | |
| fi | |
| FPID=$(echo $FOCUSED | awk '{print $3}') |
wget -O /tmp/oc.tar.gz https://github.com/openshift/origin/releases/download/v3.9.0/openshift-origin-client-tools-v3.9.0-191fece-linux-64bit.tar.gz
tar -C ~/bin/ -xvzf /tmp/oc.tar.gz
mv openshift-origin-client-tools-*/oc .
chmod 755 oc
curl -L https://storage.googleapis.com/kubernetes-release/release/`curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt`/bin/linux/amd64/kubectl -o ~/bin/kubectl
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 loops.yml -vv | |
| - name: 'Morty Im a pickle!' | |
| gather_facts: False | |
| hosts: localhost | |
| become: false | |
| tasks: | |
| - include_vars: vars.yml |
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
| ➜ mongodb-apb git:(master) oc logs -f apb-run-provision-mongodb-apb6ncsp -n mongodb-01 | |
| + [[ provision --extra-vars {"MONGODB_ADMIN_PASSWORD": "admin", "MONGODB_DATA_STORAGE_SIZE": 1, "MONGODB_VERSION": "3.4", "MONGODB_MEMORY_LIMIT": "512Mi", "_apb_plan_id": "ephemeral", "namespace": "mongodb-01", "MONGODB_PASSWORD": "password", "MONGODB_USER": "username", "MONGODB_IMAGE_TAG": "latest", "MONGODB_DATABASE": "sampledb", "USE_UPSTREAM_IMAGES": false} == *\s\2\i\/\a\s\s\e\m\b\l\e* ]] | |
| + ACTION=provision | |
| + shift | |
| + playbooks=/opt/apb/actions | |
| + CREDS=/var/tmp/bind-creds | |
| + TEST_RESULT=/var/tmp/test-result | |
| + whoami | |
| + '[' -w /etc/passwd ']' | |
| ++ id -u |
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
| #!/bin/bash | |
| import -window root /tmp/screenshot.png | |
| convert /tmp/screenshot.png -spread 6 /tmp/screenshotblur.png | |
| rm /tmp/screenshot.png | |
| i3lock -i /tmp/screenshotblur.png |