25 lines
557 B
YAML
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
|