Add laptop deploy script
This commit is contained in:
5
deploy-laptop
Executable file
5
deploy-laptop
Executable file
@@ -0,0 +1,5 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
# ansible-playbook -i inventories/hosts playbook.yml -l laptop-local --ask-vault-pass --ask-become-pass --check --diff
|
||||||
|
|
||||||
|
ansible-playbook -i inventories/hosts playbook.yml -l laptop-local --ask-vault-pass --ask-become-pass --diff "$@"
|
||||||
21
inventories/hosts
Normal file
21
inventories/hosts
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
[htpc]
|
||||||
|
htpc-local ansible_connection=local ansible_user=bryan
|
||||||
|
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
|
||||||
|
|
||||||
|
[laptop]
|
||||||
|
laptop-local ansible_connection=local ansible_user=bryan
|
||||||
|
laptop-remote ansible_host=laptop 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
|
||||||
|
|
||||||
|
[desktops:children]
|
||||||
|
workstation
|
||||||
|
laptop
|
||||||
Reference in New Issue
Block a user