No description
- HTML 63.3%
- Jinja 36.7%
| 1_setup_playbooks | ||
| 2_inventory | ||
| 3_tasks | ||
| 4_playbooks | ||
| 5_collections_and_roles | ||
| LICENSE | ||
| README.md | ||
Ansible Workshop
ICCM 2025 Preconference Workshop
Ansible Docs: https://docs.ansible.com/
Goals
- Install Ansible on your machine, or create user on Ansible server
- Deploy your test machine with Ansible
- Learn about and create Ansible inventory
- Learn about Ansible builtin tasks
- Learn about and create a playbook
- Learn about and create a collection with roles
- Learn about Ansible community
- Ansible Vault for secure secret storage
Install Ansible
Install on Your Machine
Windows: Install WSL and use a distro of choice
Ubuntu/Debian: apt install ansible
Fedora: dnf install ansible
RHEL-of-some-sort: yum install ansible / dnf install ansible
macOS: Install Homebrew then brew install ansible
pip: pipx install --include-deps ansible
Connect to Ansible Server
- Give me a username and dummy password
- Login and change password with
passwd
Getting Started
git clone the repo
git clone git-repo-here
In the 1_setup_playbooks directory, edit the inventory.yml file and edit these vars:
- hostname - pick whatever you want
- guest_ip - TBD
- guest_netmask - TBD
- guest_gateway - TBD
- my_ssh_pubkey - run
ssh-keygen -t ed25519and set the contents in theid_ed25519.pubfile
Continuing On
There are other directories present for each section with a README per directory containing information per section.