mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-04-29 13:01:36 +08:00
copr-be: idempotent touch
This commit is contained in:
@@ -102,7 +102,14 @@
|
||||
- lighttpd_config
|
||||
|
||||
- name: Create a txt file with Pulp redirects
|
||||
file: state=touch dest=/var/lib/copr/pulp-redirect.txt owner=copr group=copr mode=644
|
||||
file:
|
||||
state: touch
|
||||
dest: /var/lib/copr/pulp-redirect.txt
|
||||
owner: copr
|
||||
group: copr
|
||||
mode: "644"
|
||||
modification_time: preserve
|
||||
access_time: preserve
|
||||
|
||||
- name: Add custom lighttpd lua scripts
|
||||
ansible.builtin.template: src="lighttpd/{{ item }}.j2" dest="/etc/lighttpd/{{ item }}" owner=root group=root mode=644
|
||||
|
||||
Reference in New Issue
Block a user