adding reminder/translate-shell stuff

This commit is contained in:
opal
2024-06-02 10:29:48 -07:00
parent d80d3070be
commit b877cc95d5
4 changed files with 31 additions and 0 deletions

View File

@@ -24,6 +24,15 @@
group: opal group: opal
loop: "{{ create_directories }}" loop: "{{ create_directories }}"
- name: Create or ensure presence of custom files
file:
path: /home/opal/{{ item }}
state: touch
mode: '0644'
owner: opal
group: opal
loop: "{{ create_files }}"
- name: Remove default home directories if present - name: Remove default home directories if present
file: file:
path: /home/opal/{{ item }} path: /home/opal/{{ item }}

View File

@@ -21,6 +21,10 @@ create_directories:
- projects - projects
- src - src
- .config - .config
- .config/remind
create_files:
- .config/remind/.reminders
init_users: init_users:
opal: opal:
@@ -31,6 +35,7 @@ init_users:
- docker - docker
- video - video
- netdev - netdev
- lpadmin
state: present state: present
shell: /bin/bash shell: /bin/bash
create_home: true create_home: true

View File

@@ -57,3 +57,15 @@
apt: apt:
deb: "/tmp/veracrypt.deb" deb: "/tmp/veracrypt.deb"
state: present state: present
- name: Download the translate-shell binary
get_url:
url: https://git.io/trans
dest: /usr/local/bin/trans
mode: '0755'
- name: Ensure the translate-shell binary is executable
file:
path: /usr/local/bin/trans
mode: '0755'
state: file

View File

@@ -42,8 +42,11 @@ general_packages:
- unrar-free - unrar-free
- unzip - unzip
- pcmanfm-qt - pcmanfm-qt
- lximage-qt
- polkit-kde-agent-1 - polkit-kde-agent-1
- screen - screen
- remind
- gawk # for translate-shell
networking_packages: networking_packages:
- nmap - nmap
@@ -87,5 +90,7 @@ flatpak_packages:
- org.torproject.torbrowser-launcher - org.torproject.torbrowser-launcher
- org.mozilla.Thunderbird - org.mozilla.Thunderbird
- org.mozilla.firefox - org.mozilla.firefox
- org.musicbrainz.Picard
- org.gimp.GIMP
veracrypt_deb_url: "https://launchpad.net/veracrypt/trunk/1.26.7/+download/veracrypt-1.26.7-Debian-12-amd64.deb" veracrypt_deb_url: "https://launchpad.net/veracrypt/trunk/1.26.7/+download/veracrypt-1.26.7-Debian-12-amd64.deb"