mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2024-11-25 22:21:04 +01:00
Added epson-multiprinter-support
This commit is contained in:
parent
0730cb5362
commit
58b1c54046
@ -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
|
||||
|
@ -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
2
requirements.yml
Normal file
@ -0,0 +1,2 @@
|
||||
collections:
|
||||
- name: kewlfft.aur
|
1
roles/native-aur-helper/Readme.md
Normal file
1
roles/native-aur-helper/Readme.md
Normal file
@ -0,0 +1 @@
|
||||
https://github.com/kewlfft/ansible-aur
|
25
roles/native-aur-helper/tasks/main.yml
Normal file
25
roles/native-aur-helper/tasks/main.yml
Normal 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
|
9
roles/native-epson-multiprinter/Readme.md
Normal file
9
roles/native-epson-multiprinter/Readme.md
Normal 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
|
2
roles/native-epson-multiprinter/meta/main.yml
Normal file
2
roles/native-epson-multiprinter/meta/main.yml
Normal file
@ -0,0 +1,2 @@
|
||||
dependencies:
|
||||
- native-aur-helper
|
12
roles/native-epson-multiprinter/tasks/main.yml
Normal file
12
roles/native-epson-multiprinter/tasks/main.yml
Normal 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
|
Loading…
Reference in New Issue
Block a user