mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-03-20 03:57:02 +08:00
Replaces many references to file: with ansible.builtin.file Signed-off-by: Ryan Lerch <rlerch@redhat.com>
27 lines
686 B
YAML
27 lines
686 B
YAML
---
|
|
- name: Ensure dir for content exists
|
|
ansible.builtin.file: dest=/srv/web/review-stats owner=root group=root mode=0755 state=directory
|
|
tags:
|
|
- review-stats
|
|
- review-stats/proxy
|
|
|
|
- name: Put the proxy config in place
|
|
template: >
|
|
src=review-stats.conf
|
|
dest=/etc/httpd/conf.d/{{website}}/review-stats.conf
|
|
owner=root group=root mode=0644
|
|
notify:
|
|
- reload httpd
|
|
tags:
|
|
- review-stats
|
|
- review-stats/proxy
|
|
|
|
- name: Install the sync-review-stats cronjob to pull content from builder
|
|
copy: >
|
|
src=sync-review-stats.cron dest=/etc/cron.d/sync-review-stats.cron
|
|
owner=root group=root mode=0644
|
|
tags:
|
|
- cron
|
|
- review-stats
|
|
- review-stats/proxy
|