Skip to content

d3athkai/Ansible-Playbooks

Repository files navigation

GPL-3.0
Red Hat Rocky Linux Ubuntu+ Raspberry Pi OS
Ansible Python 3

My Ansible Playbooks

A Work-in-Progress (WIP), with more Ansible Playbooks adding regularly.

Ansible Tips and Tricks

Refer to My Ansible Tips and Tricks.

Recommended Ansible Settings

In /etc/ansible/ansible.cfg, under [defaults], add: interpreter_python=/usr/bin/python3

Playbooks List

S/N Playbook Description
1 add-yum-repo.yml To add a new Yum Repo for CentOS, Red Hat and Rocky Linux.
It has the option to disable all existing repos in /etc/yum.repos.d.
2 ansible-setup-clients.yml To setup individual Ansible client so that the Ansible master can communicate with this client.
It will create a non-root privilleged user for running Ansible tasks and also plant the ssh public key from the Ansible Master.
3 detect-family-distribution.yml To detect OS Family, Distribution Release & version and Architecture.
4 vault_lookup.yaml To lookup key-value pairs from HashiCorp Vault.