From 57a5b8fd27b1593c4b79b0b57c250b9d5412618d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hannes=20K=C3=B6rber?= Date: Sat, 13 Apr 2024 18:14:05 +0200 Subject: [PATCH] Remove ~/.optbin and ~/.opt --- user.yml | 25 +------------------------ zsh/zprofile.j2 | 1 - 2 files changed, 1 insertion(+), 25 deletions(-) diff --git a/user.yml b/user.yml index e854cb2..f665ce7 100644 --- a/user.yml +++ b/user.yml @@ -225,29 +225,6 @@ - bin_stat.stat.exists - not bin_stat.stat.islnk - - name: create ~/.opt and ~/.optbin - file: - path: "{{ item }}" - state: directory - with_items: - - ~/.opt/ - - ~/.optbin/ - - - name: symlink opt programs - file: - state: link - force: true - follow: false - path: "/home/{{ user.name }}/.optbin/{{ item.name }}" - src: "/home/{{ user.name }}/.opt/{{ item.optpath }}" - owner: "{{ user.name }}" - group: "{{ user_group_name }}" - with_items: - - name: hugo - optpath: hugo - - name: drone - optpath: drone - - name: link bin directory file: state: link @@ -511,7 +488,7 @@ - block: - name: add passwordstore init script copy: - dest: /home/{{ user.name }}/.optbin/pass + dest: /home/{{ user.name }}/bin owner: "{{ user.name }}" group: "{{ user_group_name }}" mode: '0755' diff --git a/zsh/zprofile.j2 b/zsh/zprofile.j2 index 5b3c110..f5df248 100644 --- a/zsh/zprofile.j2 +++ b/zsh/zprofile.j2 @@ -2,7 +2,6 @@ source /etc/profile _path=( "$HOME/bin" - "$HOME/.optbin" "$HOME/.cargo/bin" )