Add role neomutt

This commit is contained in:
flyingscorpio@arch-desktop 2022-05-07 18:23:25 +02:00
parent 68530bfed5
commit 1bf14a9fc1
3 changed files with 18 additions and 0 deletions

View file

@ -34,3 +34,4 @@
- {role: gitea-backup, tags: gitea-backup}
- {role: gaming, tags: gaming}
- {role: etckeeper, tags: etckeeper}
- {role: neomutt, tags: neomutt}

View file

@ -0,0 +1,3 @@
---
dependencies:
- role: check-sudo

View file

@ -0,0 +1,14 @@
---
- name: Install packages (Archlinux)
become: true
pacman:
name:
- neomutt
when: ansible_facts['distribution'] == 'Archlinux'
- name: Install packages (Debian)
become: true
apt:
name:
- neomutt
when: ansible_facts['distribution'] == 'Debian'