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 | |
parent | c012b2026d4908e8533e6d3c3d8b89d36b11f168 (diff) |
Smooshed some bugs
-rw-r--r-- | roles/custom-config/tasks/main.yml | 5 | ||||
-rw-r--r-- | roles/package-mgmt/tasks/main.yml | 109 |
2 files changed, 58 insertions, 56 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' diff --git a/roles/package-mgmt/tasks/main.yml b/roles/package-mgmt/tasks/main.yml index 2b6360e..ca5381e 100644 --- a/roles/package-mgmt/tasks/main.yml +++ b/roles/package-mgmt/tasks/main.yml @@ -8,6 +8,9 @@ repo: "{{ docker_repo }}" state: present +- name: Add Sublime Text repo key + ansible.builtin.shell: curl -fsSL {{ sublime_repo_key }} | gpg --dearmor --batch --yes -o /etc/apt/trusted.gpg.d/sublime-text-keyring.gpg + - name: Add Sublime Text repo ansible.builtin.apt_repository: repo: "{{ sublime_repo }}" @@ -21,56 +24,56 @@ - name: Installing one-off packages from package manager ansible.builtin.package: name: - - bloodhound - - build-essential - - bytecode-viewer - - clang - - cmake - - crackmapexec - - curl - - default-jdk - - default-jre - - docker - - docker-compose - - eog - - feroxbuster - - flex - - forensics-extra - - gawk - - gdb - - gdbserver - - ghidra - - git - - gobuster - - golang-go - - jq - - jxplorer - - libffi-dev - - liblzma-dev - - libssl-dev - - libxml2-dev - - ltrace - - ncat - - neo4j - - ntpdate - - mingw-w64 - - patch - - powershell - - python3 - - python3-dev - - python3-pip - - p7zip-full - - remmina - - rlwrap - - samba - - seclists - - steghide - - strace - - sublime-text - - terminator - - tmux - - xclip - - xfce4-terminal - - zaproxy - - zlib1g-dev - state: latest + - bloodhound + - build-essential + - bytecode-viewer + - clang + - cmake + - crackmapexec + - curl + - default-jdk + - default-jre + - docker + - docker-compose + - eog + - feroxbuster + - flex + - forensics-extra + - gawk + - gdb + - gdbserver + - ghidra + - git + - gobuster + - golang-go + - jq + - jxplorer + - libffi-dev + - liblzma-dev + - libssl-dev + - libxml2-dev + - ltrace + - ncat + - neo4j + - ntpdate + - mingw-w64 + - patch + - powershell + - python3 + - python3-dev + - python3-pip + - p7zip-full + - remmina + - rlwrap + - samba + - seclists + - steghide + - strace + - sublime-text + - terminator + - tmux + - xclip + - xfce4-terminal + - zaproxy + - zlib1g-dev + state: latest |