xoxys.cups/tasks/install.yml

19 lines
409 B
YAML
Raw Normal View History

2019-02-10 15:33:10 +00:00
---
- block:
- name: Copy cups rpms to destination host
copy:
2019-02-10 16:04:42 +00:00
src: "files/{{ item }}"
dest: "/var/tmp/{{ item }}"
2019-02-10 15:33:10 +00:00
owner: root
group: root
mode: 0640
loop: "{{ __cups_rpm_files }}"
- name: Install cups rpms
yum:
2019-02-10 16:04:42 +00:00
name: "/var/tmp/{{ item }}"
2019-02-10 15:33:10 +00:00
state: present
loop: "{{ __cups_rpm_files }}"
become: True
become_user: root