No description
  • HTML 63.3%
  • Jinja 36.7%
Find a file
2025-07-09 07:09:59 -07:00
1_setup_playbooks Yes 2025-07-09 07:09:59 -07:00
2_inventory Fix readme 2025-07-02 10:47:16 -07:00
3_tasks I am too used to asciidoc 2025-06-12 20:48:11 -07:00
4_playbooks Update readme 2025-07-02 12:06:01 -07:00
5_collections_and_roles README 2025-07-09 06:13:56 -07:00
LICENSE Initial commit 2025-03-27 23:56:35 +00:00
README.md md does spaces differently 2025-06-12 20:53:45 -07:00

Ansible Workshop

ICCM 2025 Preconference Workshop

Ansible Docs: https://docs.ansible.com/

Goals

  1. Install Ansible on your machine, or create user on Ansible server
  2. Deploy your test machine with Ansible
  3. Learn about and create Ansible inventory
  4. Learn about Ansible builtin tasks
  5. Learn about and create a playbook
  6. Learn about and create a collection with roles
  7. Learn about Ansible community
  8. 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

  1. Give me a username and dummy password
  2. 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:

  1. hostname - pick whatever you want
  2. guest_ip - TBD
  3. guest_netmask - TBD
  4. guest_gateway - TBD
  5. my_ssh_pubkey - run ssh-keygen -t ed25519 and set the contents in the id_ed25519.pub file

Continuing On

There are other directories present for each section with a README per directory containing information per section.