aboutsummaryrefslogtreecommitdiffstats
path: root/roles
diff options
context:
space:
mode:
authorRomain Gonçalves <me@rgoncalves.se>2024-11-22 14:04:06 +0100
committerRomain Gonçalves <me@rgoncalves.se>2024-11-22 14:04:06 +0100
commit4b44923b11965b27b00fc34c426dec64e2ce491c (patch)
tree0ac8198f8257aeb67854d94eecdde1fad774f3fc /roles
parentb6b23ed2725a74280060ac073b839bd1692a7884 (diff)
downloadrules-trunk.tar.gz
feat(inventory): track router devicesHEADtrunk
Diffstat (limited to 'roles')
-rw-r--r--roles/_workstation/dotfiles.yml29
1 files changed, 0 insertions, 29 deletions
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.