From d1469a9e0ac54b226439d1d434723a91d2223cf3cb914f4fbab86eaecf1bf74a Mon Sep 17 00:00:00 2001 From: bryan Date: Fri, 5 Dec 2025 00:12:03 -0500 Subject: [PATCH] Fix inventory clashes --- deploy-vm | 4 ++-- deploy-workstation | 4 ++-- inventories/localhosts | 11 ----------- inventories/remotehosts | 16 ---------------- 4 files changed, 4 insertions(+), 31 deletions(-) delete mode 100644 inventories/localhosts delete mode 100644 inventories/remotehosts diff --git a/deploy-vm b/deploy-vm index c85ff9e..9be78a5 100755 --- a/deploy-vm +++ b/deploy-vm @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# ansible-playbook -i inventories/remote-hosts.yml playbooks/deploy.yml -l workstation --ask-become-pass +# ansible-playbook -i inventories/hosts playbook.yml -l testing-remote --ask-vault-pass --ask-become-pass --check --diff -ansible-playbook -i inventories/remotehosts playbook.yml -l testing --ask-vault-pass --ask-become-pass --diff "$@" +ansible-playbook -i inventories/hosts playbook.yml -l testing-remote --ask-vault-pass --ask-become-pass --diff "$@" diff --git a/deploy-workstation b/deploy-workstation index 0ad1823..7891b38 100755 --- a/deploy-workstation +++ b/deploy-workstation @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# ansible-playbook -i inventories/localhosts playbook.yml -l workstation --ask-vault-pass --ask-become-pass --check --diff +# ansible-playbook -i inventories/hosts playbook.yml -l workstation-local --ask-vault-pass --ask-become-pass --check --diff -ansible-playbook -i inventories/localhosts playbook.yml -l workstation --ask-vault-pass --ask-become-pass --diff "$@" \ No newline at end of file +ansible-playbook -i inventories/hosts playbook.yml -l workstation-local --ask-vault-pass --ask-become-pass --diff "$@" \ No newline at end of file diff --git a/inventories/localhosts b/inventories/localhosts deleted file mode 100644 index 98c5c05..0000000 --- a/inventories/localhosts +++ /dev/null @@ -1,11 +0,0 @@ -[all] -localhost ansible_connection=local ansible_user=bryan - -[htpc] -localhost ansible_connection=local ansible_user=bryan - -[workstation] -localhost ansible_connection=local ansible_user=bryan - -[laptop] -localhost ansible_connection=local ansible_user=bryan \ No newline at end of file diff --git a/inventories/remotehosts b/inventories/remotehosts deleted file mode 100644 index 04fed51..0000000 --- a/inventories/remotehosts +++ /dev/null @@ -1,16 +0,0 @@ -[all] - -[server] -bryanroessler.com ansible_user=bryan - -[testing] -192.168.122.205 ansible_user=bryan - -[htpc] -htpc ansible_user=bryan - -[workstation] -workstation ansible_user=bryan - -[laptop] -laptop ansible_user=bryan \ No newline at end of file