From 3e563adc9f60d9354c4c1a46e2a4320f92a923b0da0a040a3f032a2a16210e2b Mon Sep 17 00:00:00 2001 From: bryan Date: Fri, 5 Dec 2025 09:35:05 -0500 Subject: [PATCH] Add laptop deploy script --- deploy-laptop | 5 +++++ inventories/hosts | 21 +++++++++++++++++++++ 2 files changed, 26 insertions(+) create mode 100755 deploy-laptop create mode 100644 inventories/hosts diff --git a/deploy-laptop b/deploy-laptop new file mode 100755 index 0000000..da624ec --- /dev/null +++ b/deploy-laptop @@ -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 "$@" \ No newline at end of file diff --git a/inventories/hosts b/inventories/hosts new file mode 100644 index 0000000..7130e17 --- /dev/null +++ b/inventories/hosts @@ -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 \ No newline at end of file