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
--- /dev/fd/63 2023-02-22 14:14:19.738854281 +0100 | |
+++ /dev/fd/62 2023-02-22 14:14:19.738854281 +0100 | |
@@ -37,6 +37,14 @@ | |
version: 5.2.0 | |
community.general: | |
version: 6.3.0 | |
+ community.vmware: | |
+ version: 3.3.0 | |
+ equinix.metal: | |
+ version: 1.4.1 |
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
2d9e99902bdc3540dffebcefd06db0731b762dfa972c06e8a84058f9c8170fda /usr/local/bin/entrypoint | |
# Ansible | |
ansible [core 2.14.2] | |
config file = None | |
configured module search path = ['/home/runner/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] | |
ansible python module location = /usr/local/lib/python3.9/site-packages/ansible | |
ansible collection location = /home/runner/.ansible/collections:/usr/share/ansible/collections | |
executable location = /usr/local/bin/ansible |
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
--- /dev/fd/63 2023-02-22 13:57:13.139024288 +0100 | |
+++ /dev/fd/62 2023-02-22 13:57:13.139024288 +0100 | |
@@ -30,6 +30,7 @@ | |
ansible.netcommon 4.1.0 | |
ansible.posix 1.5.1 | |
ansible.utils 2.9.0 | |
+awx.awx 21.12.0 | |
azure.azcollection 1.14.0 | |
community.aws 5.2.0 | |
community.general 6.3.0 |
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
1 file changed, 58 insertions(+) | |
resources/s3-buckets.go | 58 +++++++++++++++++++++++++++++++++++++++++++++++++ | |
modified resources/s3-buckets.go | |
@@ -9,6 +9,8 @@ import ( | |
"github.com/aws/aws-sdk-go/aws/request" | |
"github.com/aws/aws-sdk-go/aws/session" | |
"github.com/aws/aws-sdk-go/service/s3" | |
+ "github.com/aws/aws-sdk-go/service/sts" | |
+ "github.com/aws/aws-sdk-go/service/s3control" |
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
do_cmd_timeout_retry() { | |
local RETRIES=0 | |
local MAX_RETRIES=10 | |
local TIMEOUT=60 | |
local DELAY=60 | |
while [[ $RETRIES -le $MAX_RETRIES ]]; do | |
timeout ${TIMEOUT} "$@" | |
local ret=$? |
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
- hosts: localhost | |
gather_facts: false | |
vars: | |
bla: | |
keys: | |
- 1 | |
- 2 | |
tasks: | |
- debug: | |
msg: "{{ bla['keys'][0] }}" |
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
NAME="Red Hat Enterprise Linux Server" | |
VERSION="7.4 (Maipo)" | |
ID="rhel" | |
ID_LIKE="fedora" | |
VARIANT="Server" | |
VARIANT_ID="server" | |
VERSION_ID="7.4" | |
PRETTY_NAME=OpenShift | |
ANSI_COLOR="0;31" | |
CPE_NAME="cpe:/o:redhat:enterprise_linux:7.4:GA:server" |
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/sh | |
# | |
# Delete a VPC and its dependencies | |
REGION=eu-central-1 | |
REGION=us-west-2 | |
REGION=ap-southeast-1 | |
export AWS_PROFILE=sandbox37 | |
export AWS_PROFILE=sandbox29 |
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 | |
if [ -z "$1" ] || [ -z "$2" ]; then | |
echo "${0} QUBE VOLUME" | |
exit 2 | |
fi | |
set -xeu -o pipefail | |
volume=$(qvm-block | awk "/${2}/{print \$1}") | |
UUID=$(sudo blkid /dev/mapper/${2} -sUUID -ovalue) |
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
PLAY [localhost] ****************************************************************************************************************************************************************************** | |
TASK [set_fact] ******************************************************************************************************************************************************************************* | |
ok: [localhost] | |
TASK [include_role : /tmp/testrole] *********************************************************************************************************************************************************** | |
TASK [/tmp/testrole : set_fact] ******************************** |