1
0
Fork 0

Add gopass

This commit is contained in:
J. Elfring 2025-02-23 19:29:55 +01:00
parent 712c4bb9ee
commit 8a45ddb6ec
3 changed files with 264 additions and 261 deletions

View file

@ -16,6 +16,7 @@
with_items: with_items:
- fortune-mod - fortune-mod
- git - git
- gopass
- make - make
- openssh - openssh
- pass - pass

View file

@ -3,14 +3,13 @@
connection: local connection: local
tasks: tasks:
- name: "Update pacman cache" - name: "Update pacman cache"
community.general.pacman: community.general.pacman:
update_cache: True update_cache: True
- name: "Install workstation packages" - name: "Install workstation packages"
ansible.builtin.package: ansible.builtin.package:
name: '{{ item }}' name: "{{ item }}"
state: present state: present
update_cache: False update_cache: False
with_items: with_items:
@ -98,7 +97,7 @@
- name: "Install X packages" - name: "Install X packages"
ansible.builtin.package: ansible.builtin.package:
name: '{{ item }}' name: "{{ item }}"
state: present state: present
update_cache: False update_cache: False
with_items: with_items:
@ -124,7 +123,7 @@
- name: "Install hypr packages" - name: "Install hypr packages"
ansible.builtin.package: ansible.builtin.package:
name: '{{ item }}' name: "{{ item }}"
state: present state: present
update_cache: False update_cache: False
with_items: with_items:
@ -136,13 +135,14 @@
- cliphist - cliphist
- wofi - wofi
- waybar - waybar
- wtype
- kitty - kitty
- qt6-wayland - qt6-wayland
- xdg-desktop-portal-hyprland - xdg-desktop-portal-hyprland
- name: "Remove unwanted packages" - name: "Remove unwanted packages"
ansible.builtin.package: ansible.builtin.package:
name: '{{ item }}' name: "{{ item }}"
state: absent state: absent
update_cache: False update_cache: False
force: True force: True
@ -152,7 +152,7 @@
- name: "Install Audio System" - name: "Install Audio System"
ansible.builtin.package: ansible.builtin.package:
name: '{{ item }}' name: "{{ item }}"
state: present state: present
update_cache: False update_cache: False
with_items: with_items:
@ -230,7 +230,7 @@
state: started state: started
enabled: yes enabled: yes
## X11 ## X11
- name: "X11: Keyboard" - name: "X11: Keyboard"
when: "'gpd' not in ansible_hostname" when: "'gpd' not in ansible_hostname"
ansible.builtin.copy: ansible.builtin.copy:
@ -249,11 +249,11 @@
group: root group: root
mode: 0644 mode: 0644
## Notbook Specials ## Notbook Specials
- name: "Install Notebook packages" - name: "Install Notebook packages"
when: ansible_facts['form_factor'] == "Notebook" when: ansible_facts['form_factor'] == "Notebook"
ansible.builtin.package: ansible.builtin.package:
name: '{{ item }}' name: "{{ item }}"
state: present state: present
update_cache: True update_cache: True
with_items: with_items:

View file

@ -14,6 +14,8 @@
- insync - insync
- c-lolcat - c-lolcat
- plus42 - plus42
- tessen
- pass-tessen
- name: Install AUR packages for hyrland - name: Install AUR packages for hyrland
become: yes become: yes