Update playbook infra
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -1,2 +1,3 @@
|
||||
.ansible
|
||||
testing/
|
||||
vault.yml
|
||||
@@ -1,2 +1,3 @@
|
||||
[defaults]
|
||||
inventory = inventories/hosts.ini
|
||||
collections_paths = ./collections
|
||||
@@ -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 "$@"
|
||||
@@ -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 "$@"
|
||||
|
||||
@@ -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,
|
||||
},
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user