aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--README.md1
-rw-r--r--host_vars/local-rter-01.yml5
-rw-r--r--inventory.ini8
-rw-r--r--roles/_workstation/dotfiles.yml29
4 files changed, 9 insertions, 34 deletions
diff --git a/README.md b/README.md
index 33ab0ff..cf745a3 100644
--- a/README.md
+++ b/README.md
@@ -27,3 +27,4 @@ role | name
domain controller | dcontroller
workstation | wstation
hypervisor | hvisor
+router | rter
diff --git a/host_vars/local-rter-01.yml b/host_vars/local-rter-01.yml
new file mode 100644
index 0000000..3d7d0d5
--- /dev/null
+++ b/host_vars/local-rter-01.yml
@@ -0,0 +1,5 @@
+---
+
+__ip:
+ external: 192.168.1.254
+ internal: 10.10.0.20
diff --git a/inventory.ini b/inventory.ini
index 592dfb4..f70a076 100644
--- a/inventory.ini
+++ b/inventory.ini
@@ -2,16 +2,14 @@
ams-dcontroller-01
localhost
local-hvisor-01
+local-rter-01
wstation-think-01
-wstation-xps-01
+wstation-work-01
[servers]
ams-dcontroller-01
local-hvisor-01
-[routers]
-local-router-01
-
[workstations]
wstation-think-01
-wstation-xps-01
+wstation-work-01
diff --git a/roles/_workstation/dotfiles.yml b/roles/_workstation/dotfiles.yml
deleted file mode 100644
index d3e7855..0000000
--- a/roles/_workstation/dotfiles.yml
+++ /dev/null
@@ -1,29 +0,0 @@
----
-
-- name: install yadm
- ansible.builtin.package:
- name: yadm
- state: present
-
-- name: retrieve yadm path # noqa no-changed-when command-instead-of-shell
- ansible.builtin.shell: yes n | yadm clone "{{ workstation_dotfiles_repo }}"
- register: workstation_dotfiles_clone_result
- changed_when:
- - workstation_dotfiles_clone_result.rc != 0
- - "'Git repo already exists' not in
- workstation_dotfiles_clone_result.stderr"
- failed_when:
- - workstation_dotfiles_clone_result.rc != 0
- - "'Git repo already exists' not in
- workstation_dotfiles_clone_result.stderr"
-
-- name: check that yadm bootstrap script exists
- ansible.builtin.stat:
- path: "/home/{{ workstation_user }}/.config/yadm/bootstrap"
- register: workstation_dotfiles_bootstrap_result
-
-- name: execute yadm bootstrap
- ansible.builtin.command: yadm bootstrap
- when:
- - workstation_dotfiles_bootstrap_result.stat.exists
- - workstation_dotfiles_bootstrap_result.stat.executable
remember that computers suck.