xoxys.cups/tasks/install.yml
Robert Kaussow b37dcde36a
All checks were successful
continuous-integration/drone/push Build is passing
try to install rpm from list instead of loop
2019-02-10 17:23:13 +01:00

18 lines
365 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: "{{ item }}"
state: present
become: True
become_user: root