add service handler; fix file destination
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
2ef04ac4d2
commit
6b3a8f9741
@ -1 +1,10 @@
|
||||
---
|
||||
- name: Restart service
|
||||
systemd:
|
||||
name: cupsd
|
||||
state: restarted
|
||||
daemon_reload: yes
|
||||
enabled: yes
|
||||
listen: __cupsd_restart
|
||||
become: True
|
||||
become_user: root
|
||||
|
@ -3,7 +3,7 @@
|
||||
- name: Copy cups rpms to destination host
|
||||
copy:
|
||||
src: "{{ item }}"
|
||||
dest: "/var/tmp/{{ item }}"
|
||||
dest: "/root/{{ item }}"
|
||||
owner: root
|
||||
group: root
|
||||
mode: 0640
|
||||
@ -11,7 +11,7 @@
|
||||
|
||||
- name: Install cups rpms
|
||||
yum:
|
||||
name: "/var/tmp/{{ item }}"
|
||||
name: "/root/{{ item }}"
|
||||
state: present
|
||||
loop: "{{ __cups_rpm_files }}"
|
||||
become: True
|
||||
|
Loading…
Reference in New Issue
Block a user