xoxys.cups/tasks/install.yml

19 lines
397 B
YAML
Raw Normal View History

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