- add Retic repo
- yum install restic
add a Restic credential file to root
vim /root/.restic
#!/bin/bash | |
RANCHERENDPOINT=https://your_rancher_endpoint/v3 | |
# The name of the cluster where the user needs to be added | |
CLUSTERNAME=your_cluster_name | |
# Username, password and realname of the user | |
USERNAME=username | |
PASSWORD=password | |
REALNAME=myrealname | |
# Role of the user | |
GLOBALROLE=user |
Copy this formula into an Excel cell to generate a random 9-character password. Then | |
Copy & Paste Special (as value) in place in order to avoid the cell being continuosly | |
re-evaluated. Formula taken from: | |
http://ficility.net/2013/04/26/easy-excel-based-password-generator/. | |
=CHAR(RANDBETWEEN(65;90))&CHAR(RANDBETWEEN(97;122))&CHAR(RANDBETWEEN(97;122))&CHAR(RANDBETWEEN(65;90))&RANDBETWEEN(1000;9999)&CHAR(RANDBETWEEN(42;43)) | |
>>> If it does not work, try like this (commas instead of semicolons): | |
=CHAR(RANDBETWEEN(65,90))&CHAR(RANDBETWEEN(97,122))&CHAR(RANDBETWEEN(97,122))&CHAR(RANDBETWEEN(65,90))&RANDBETWEEN(1000,9999)&CHAR(RANDBETWEEN(42,43)) |
#!/bin/bash | |
# Proof of concept of running playbooks in AWX and recording them in ARA | |
# From a vanilla CentOS8 image: https://cloud.centos.org/centos/8/x86_64/images/CentOS-8-GenericCloud-8.1.1911-20200113.3.x86_64.qcow2 | |
# Add local bin directory to PATH so we can use things installed with "pip install --user" | |
export PATH=$PATH:~/.local/bin | |
dnf -y update | |
# Install Ansible and Python3 |