mirror of
https://github.com/iiab/iiab.git
synced 2025-02-13 11:42:08 +00:00
The port is open anyway, just lose the /cups redirect, not worth dragging apache in. Still missing the nginx config to make apache work, nginx should really just use nginx directly.
21 lines
533 B
YAML
21 lines
533 B
YAML
- name: Install 'cups' package
|
|
package:
|
|
name: cups
|
|
state: present
|
|
|
|
- name: Install our own /etc/cups/cupsd.conf from template, to permit local LAN admin
|
|
template:
|
|
src: cupsd.conf
|
|
dest: /etc/cups/cupsd.conf
|
|
|
|
# RECORD CUPS AS INSTALLED
|
|
|
|
- name: "Set 'cups_installed: True'"
|
|
set_fact:
|
|
cups_installed: True
|
|
|
|
- name: "Add 'cups_installed: True' to {{ iiab_state_file }}"
|
|
lineinfile:
|
|
path: "{{ iiab_state_file }}" # /etc/iiab/iiab_state.yml
|
|
regexp: '^cups_installed'
|
|
line: 'cups_installed: True'
|