Added epson-multiprinter-support

This commit is contained in:
Kevin Veen-Birkenbach 2022-08-18 08:06:28 +02:00
parent 4ee8525bfb
commit cf7b11db7c
8 changed files with 65 additions and 0 deletions

View File

@ -1,7 +1,16 @@
# Client Playbook
Playbook to setup Manjaro GNOME clients.
# Setup
Run:
```bash
ansible-galaxy collection install -r requirements.yml
```
# Todo
- add printer
- add ssh
- add gnome plugins
# See
- https://www.middlewareinventory.com/blog/run-ansible-playbook-locally/
- https://stackoverflow.com/questions/30533372/run-an-ansible-task-only-when-the-hostname-contains-a-string

View File

@ -10,6 +10,11 @@
become: true
roles:
- native-games
- name: setup multiprinter hosts
hosts: epson_multiprinter_hosts
become: true
roles:
- native-epson-multiprinter
- name: setup torbrowser hosts
hosts: torbrowser_hosts
become: true

2
requirements.yml Normal file
View File

@ -0,0 +1,2 @@
collections:
- name: kewlfft.aur

View File

@ -0,0 +1 @@
https://github.com/kewlfft/ansible-aur

View File

@ -0,0 +1,25 @@
- name: install yay
community.general.pacman:
name: yay
state: present
- name: Create the `aur_builder` user
become: yes
ansible.builtin.user:
name: aur_builder
create_home: yes
group: wheel
- name: Allow the `aur_builder` user to run `sudo pacman` without a password
become: yes
ansible.builtin.lineinfile:
path: /etc/sudoers.d/11-install-aur_builder
line: 'aur_builder ALL=(ALL) NOPASSWD: /usr/bin/pacman'
create: yes
validate: 'visudo -cf %s'
- name: Upgrade the system using yay, only act on AUR packages.
kewlfft.aur.aur:
upgrade: yes
use: yay
aur_only: yes

View File

@ -0,0 +1,9 @@
# role native-epson-multiprinter
## further information
- https://bernhardsteindl.at/epson-ecotank-et-3600-unter-arch-linux-einrichten/
- http://download.ebz.epson.net/dsc/search/01/search/searchModule
- https://aur.archlinux.org/packages/epson-inkjet-printer-escpr
- https://forum.manjaro.org/t/probleme-mit-epson-et-2820/109777/2
- https://www.ordinatechnic.com/distribution-specific-guides/Arch/installing-an-epson-multifunction-printer-on-arch-linux-and-derivatives
- http://localhost:631/admin
- https://wiki.archlinux.org/title/SANE/Scanner-specific_problems

View File

@ -0,0 +1,2 @@
dependencies:
- native-aur-helper

View File

@ -0,0 +1,12 @@
- name: Install yay packages for epson
kewlfft.aur.aur:
use: yay
name:
- epson-printer-utility
- imagescan-plugin-networkscan
- epson-inkjet-printer-escpr
- epson-inkjet-printer-escpr2
- name: install imagescan
community.general.pacman:
name: imagescan
state: present