This is an Ansible project that aims to allow me to configure my Raspberry Pi based printing server using CUPS.
main.yaml
is the main playbook, as the name would suggest. There are a couple more playbooks however:
update.yaml
: keeps packages up-to-datedebug_facts.yaml
: to display Ansible facts easilym1132mfp.yaml
: installshplip
drivers and configures a HP LaserJet M1132MFP printerml1660.yaml
: installs Samsungsplix
drivers and configures a Samsung ML-1660 Series printer
ansible-playbook main|update|debug_facts.yaml [--ask-pass] [--check]
⚠️ Note: Unless you set up a key (authorized_keys
) beforehand, Ansible will require--ask-pass
flag in order to establish a SSH connection the first time it runs.
- NetworkManager for wireless connection management (including static IP address)
- CUPS for network printing
- SANE + AirSane for network image acquisition
- SSH security concerns
- Package update/upgrade
- Raspberry Pi specific configurations
- Configure
currentstatic IP indhcpcdNetwork manager - cups
- windows: avahi/bonjour. No SMB required
- macos: avahi/bonjour. No SMB required
- android: avahi/bonjour. No SMB required
- ios: might need airprint
- printer-specific roles/plays
- sane
- airsane: expose scanner through the network
- windows
- macos
- android: Mopria Scan
- ios
- drop files to network folder to print?
- move scanned files to different location as they are created (paperless)
- trigger scan from Home Assistant