copr-be: copr-ping: always replace the ping script
This commit is contained in:
parent
cd64609f96
commit
6a582f9ef9
1 changed files with 0 additions and 5 deletions
|
@ -12,10 +12,6 @@
|
||||||
dnf: name=copr-cli state=latest
|
dnf: name=copr-cli state=latest
|
||||||
tags: copr_ping
|
tags: copr_ping
|
||||||
|
|
||||||
- stat: path="{{ ping_script }}"
|
|
||||||
register: script_stat
|
|
||||||
tags: copr_ping
|
|
||||||
|
|
||||||
- name: install a stub script
|
- name: install a stub script
|
||||||
copy:
|
copy:
|
||||||
dest: "{{ ping_script }}"
|
dest: "{{ ping_script }}"
|
||||||
|
@ -24,7 +20,6 @@
|
||||||
group: "{{ ping_user }}"
|
group: "{{ ping_user }}"
|
||||||
mode: 0700
|
mode: 0700
|
||||||
tags: copr_ping
|
tags: copr_ping
|
||||||
when: not script_stat.stat.exists
|
|
||||||
|
|
||||||
- name: rebuild the copr-ping package periodically
|
- name: rebuild the copr-ping package periodically
|
||||||
ansible.builtin.cron:
|
ansible.builtin.cron:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue