SHA256
1
0

Update playbook infra

This commit is contained in:
2026-01-27 01:55:54 -05:00
parent 0e3f653a38
commit 0cb596f4db
8 changed files with 13 additions and 8 deletions

3
.gitignore vendored
View File

@@ -1,2 +1,3 @@
.ansible .ansible
testing/ testing/
vault.yml

View File

@@ -1,2 +1,3 @@
[defaults] [defaults]
inventory = inventories/hosts.ini inventory = inventories/hosts.ini
collections_paths = ./collections

View File

@@ -2,6 +2,7 @@
# Bootstrap Ansible environment # Bootstrap Ansible environment
# Usage: ./bootstrap [--force] # Usage: ./bootstrap [--force]
pip install --upgrade pip "$@" python -m ensurepip --upgrade
pip install --upgrade --requirement pip-requirements "$@" pip install --upgrade pip
ansible-galaxy install --role-file galaxy-requirements.yml "$@" pip install --upgrade --requirement requirements "$@"
ansible-galaxy install --role-file collections/requirements.yml "$@"

View File

@@ -2,4 +2,4 @@
# ansible-playbook playbook.yml -l testing-remote --ask-vault-pass --ask-become-pass --check --diff # ansible-playbook playbook.yml -l testing-remote --ask-vault-pass --ask-become-pass --check --diff
ansible-playbook playbook.yml -l testing-remote --ask-vault-pass --ask-become-pass --diff "$@" ansible-playbook playbook.yml -l workstation-remote-testing --ask-vault-pass --ask-become-pass --diff "$@"

View File

@@ -5,7 +5,7 @@
} }
], ],
"settings": { "settings": {
"ansible.python.interpreterPath": "/home/bryan/.virtualenvs/deploy/bin/python", "ansible.python.interpreterPath": "/home/bryan/develop/deploy/.venv/bin/python",
"search.followSymlinks": false, "search.followSymlinks": false,
}, },

View File

@@ -5,16 +5,18 @@ htpc-remote ansible_host=htpc ansible_user=bryan
[workstation] [workstation]
workstation-local ansible_connection=local ansible_user=bryan workstation-local ansible_connection=local ansible_user=bryan
workstation-remote ansible_host=workstation ansible_user=bryan workstation-remote ansible_host=workstation ansible_user=bryan
workstation-remote-testing ansible_host=vm-fedora43 ansible_user=bryan
[laptop] [laptop]
laptop-local ansible_connection=local ansible_user=bryan laptop-local ansible_connection=local ansible_user=bryan
laptop-remote ansible_host=laptop ansible_user=bryan laptop-remote ansible_host=laptop ansible_user=bryan
laptop-remote-testing ansible_host=192.168.122.95 ansible_user=bryan
[server] [server]
bryanroessler.com ansible_host=bryanroessler.com ansible_user=bryan bryanroessler.com ansible_host=bryanroessler.com ansible_user=bryan
[testing] # [testing]
testing-remote ansible_host=192.168.122.205 ansible_user=bryan # testing-remote ansible_host=192.168.122.205 ansible_user=bryan
# [desktops:children] # [desktops:children]
# workstation # workstation