diff options
author | Dan Fedele <dan.fedele@gmail.com> | 2023-06-12 17:44:36 -0400 |
---|---|---|
committer | Dan Fedele <dan.fedele@gmail.com> | 2023-06-12 17:44:36 -0400 |
commit | 9bf3e9ec191e0baf9baf8f0d7f553a0fa0c28e69 (patch) | |
tree | 1db89793d1a83ced8256f06bbd6365ca1c6b89f3 /roles/custom-config/tasks/main.yml | |
parent | c012b2026d4908e8533e6d3c3d8b89d36b11f168 (diff) |
Smooshed some bugs
Diffstat (limited to 'roles/custom-config/tasks/main.yml')
-rw-r--r-- | roles/custom-config/tasks/main.yml | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/roles/custom-config/tasks/main.yml b/roles/custom-config/tasks/main.yml index 1a7de05..ec55f0e 100644 --- a/roles/custom-config/tasks/main.yml +++ b/roles/custom-config/tasks/main.yml @@ -1,8 +1,7 @@ --- # tasks file for custom-config - name: Getting all interactive users - #ansible.builtin.shell "awk -F: '{ if (($3 >= 1000 && $3 != 65534) || $3 == 0) print $1)' /etc/passwd" - ansible.builtin.shell: "grep -E '(ba|da|k|c|z|tc|b|a|sc|sh)$' /etc/passwd" + ansible.builtin.shell: "awk -F: '{ if (($3 >= 1000 && $3 != 65534) || $3 == 0) print $1}' /etc/passwd" register: users - name: Install Kitty Terminal Emulator 🐱 @@ -78,7 +77,7 @@ - name: Copying over zsh functions file for all users ansible.builtin.copy: src: zsh_functions.zsh - dest: "{{ item }}/.zsh_functions" + dest: "~{{ item }}/.zsh_functions" owner: "{{ item }}" group: "{{ item }}" mode: '0640' |