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