xoxys.cups/tasks/install.yml
Robert Kaussow 9a7b73eeb6
Some checks failed
continuous-integration/drone/push Build is failing
add nginx vhost and base cupsd config
2019-02-10 18:21:25 +01:00

25 lines
557 B
YAML

---
- block:
- name: Copy cups rpms to destination host
copy:
src: "files/{{ item | basename }}"
dest: "{{ item }}"
owner: root
group: root
mode: 0640
loop: "{{ __cups_rpm_files }}"
- name: Install cups rpms
yum:
name: "{{ __cups_rpm_files }}"
state: present
- name: Deploy global config files
template:
src: "etc/cups/cupsd.conf.j2"
dest: "/etc/cups/cupsd.conf"
mode: 0640
notify: __cupsd_restart
become: True
become_user: root