Ansible Config for my minilab
Find a file
2026-01-22 21:41:43 +00:00
.devcontainer first commit 2025-04-30 11:51:18 +00:00
.github first commit 2025-04-30 11:51:18 +00:00
.vscode Added *arr Stack 2026-01-18 16:19:33 +00:00
collections Added ntfy and That other app... cloudflare's tunnel thing! 2026-01-22 21:41:43 +00:00
inventory Added *arr Stack 2026-01-18 16:19:33 +00:00
.gitignore Added requirements 2026-01-13 12:52:58 -05:00
ansible-navigator.yaml first commit 2025-04-30 11:51:18 +00:00
ansible.cfg first commit 2025-04-30 11:51:18 +00:00
doit Added *arr Stack 2026-01-18 16:19:33 +00:00
minilab.yaml Added ntfy and That other app... cloudflare's tunnel thing! 2026-01-22 21:41:43 +00:00
README.md Adguard updated, adguardhome-sync added 2026-01-13 10:39:36 -05:00
update Did tweaks for a new host, added a publickey for my ipad added an update play, made a couple of scripts, because I am too forgetful to remember the full command. Other stuff too, but I kinda forget all of it. 2025-06-01 14:06:33 -04:00
update.yaml Did tweaks for a new host, added a publickey for my ipad added an update play, made a couple of scripts, because I am too forgetful to remember the full command. Other stuff too, but I kinda forget all of it. 2025-06-01 14:06:33 -04:00
vault.sh first commit 2025-04-30 11:51:18 +00:00

Adhdgirl Minilab Ansible Project

To Get Machines Added

  1. Generate a set of ssh-keys for the ansible user. Copy both to the files directory. (Expects id_rsa and id_rsa.pub)
  2. Either make sure that the container has your SSH public key for auth, or allows password auth for the user you wish to use.
    NOTE Whichever user you are using must be able to run root commands, either using sudo, or by being root.
    • For authenticating using SSH keys, execute
      ansible-playbook --ask-vault-pass -e 'ansible_user=<user>' --ask-become-pass -e 'ansible_private_key_file=<path_th_ssh_private_key>' minilab.yml
    • For authenticating without using SSH keys, execute
      ansible-playbook --ask-vault-pass -e 'ansible_user=<user>' --ask-pass --ask-become-pass minilab.yml
  3. After the first run. the following will work
    • ansible-playbook --ask-vault-pass minilab.yml

Included content/ Directory Structure

The directory structure follows best practices recommended by the Ansible community. Feel free to customize this template according to your specific project requirements.

 ansible-project/
 |── .devcontainer/
 |    └── docker/
 |        └── devcontainer.json
 |    └── podman/
 |        └── devcontainer.json
 |    └── devcontainer.json
 |── .github/
 |    └── workflows/
 |        └── tests.yml
 |    └── ansible-code-bot.yml
 |── .vscode/
 |    └── extensions.json
 |── collections/
 |   └── requirements.yml
 |   └── ansible_collections/
 |       └── project_org/
 |           └── project_repo/
 |               └── README.md
 |               └── roles/sample_role/
 |                         └── README.md
 |                         └── tasks/main.yml
 |── inventory/
 |   └── groups_vars/
 |   └── host_vars/
 |   └── hosts.yml
 |── ansible-navigator.yml
 |── ansible.cfg
 |── devfile.yaml
 |── linux_playbook.yml
 |── network_playbook.yml
 |── README.md
 |── site.yml

Compatible with Ansible-lint

Tested with ansible-lint >=24.2.0 releases and the current development version of ansible-core.