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
--- | |
- name: "Manage HashiCorp Vault with modules" | |
hosts: localhost | |
gather_facts: false | |
vars: | |
vault_address: "http://vault.example.local:8200" | |
vars_prompt: | |
- name: "hv_user" |
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
--- | |
- name: "Manage HashiCorp Vault with lookups" | |
hosts: localhost | |
gather_facts: false | |
vars: | |
vault_address: "http://vault.example.local:8200" | |
vars_prompt: | |
- name: "hv_user" |
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
#cloud-config | |
hostname: podman | |
fqdn: podman.example.com | |
manage_etc_hosts: true | |
# Users and Groups | |
users: | |
- name: usuario | |
sudo: ALL=(ALL) NOPASSWD:ALL | |
groups: adm, sudo |
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
#cloud-config | |
hostname: docker | |
fqdn: docker.example.com | |
manage_etc_hosts: true | |
# Users and Groups | |
users: | |
- name: usuario | |
sudo: ALL=(ALL) NOPASSWD:ALL | |
groups: adm, sudo |
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
#cloud-config | |
hostname: example | |
fqdn: example.contoso.com | |
manage_etc_hosts: true | |
# Users and Groups | |
users: | |
- name: usuario | |
sudo: ALL=(ALL) NOPASSWD:ALL | |
groups: adm, sudo |
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 | |
# This script print a banner with logo and system information. | |
# Need two packages: figlet and lolcat | |
# Fix: for lolcat to work properly, you have to move the binary from /usr/games/lolcat to /usr/bin/lolcat | |
# Colors | |
GREEN='\033[0;32m' | |
BLUE='\033[0;34m' | |
YELLOW='\033[0;33m' | |
NC='\033[0m' |
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 | |
# This script will download a cloud image and deploy it as a template in Proxmox VE | |
# Tested on Proxmox VE 8.2.4 | |
clear | |
# Default values for cloud template | |
MEMORY="512" | |
DISK_SIZE="10G" | |
STORAGE="local-lvm" |