20 lines
390 B
YAML
20 lines
390 B
YAML
|
---
|
||
|
- name: Create cupsd-config directory
|
||
|
file:
|
||
|
path: "{{ item }}"
|
||
|
owner: "{{ puid }}"
|
||
|
group: "{{ pgid }}"
|
||
|
mode: '755'
|
||
|
state: directory
|
||
|
loop:
|
||
|
- "{{ cupsd_config }}"
|
||
|
become: true
|
||
|
|
||
|
- name: Copy default config
|
||
|
template:
|
||
|
owner: "{{ puid }}"
|
||
|
src: "templates/aya01/cupsd/cupsd.conf"
|
||
|
dest: "{{ cupsd_config }}/cupsd.conf"
|
||
|
mode: '660'
|
||
|
become: true
|