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
testing/
testing/
vault.yml

View File

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

View File

@@ -2,6 +2,7 @@
# Bootstrap Ansible environment
# Usage: ./bootstrap [--force]
pip install --upgrade pip "$@"
pip install --upgrade --requirement pip-requirements "$@"
ansible-galaxy install --role-file galaxy-requirements.yml "$@"
python -m ensurepip --upgrade
pip install --upgrade pip
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 --diff "$@"
ansible-playbook playbook.yml -l workstation-remote-testing --ask-vault-pass --ask-become-pass --diff "$@"

View File

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

View File

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