Files
fedora-infra_ansible/tasks/reg-server.yml
2017-06-29 22:54:13 +00:00

26 lines
653 B
YAML

- name: install reg-server
package:
name: reg-server
state: latest
- name: Copy reg-server repositories html template
copy:
src: "{{files}}/reg-server/repositories.html"
dest: "/var/lib/reg-server/templates/repositories.html"
- name: Copy reg-server tags html template
copy:
src: "{{files}}/reg-server/tags.html"
dest: "/var/lib/reg-server/templates/tags.html"
- name: Install cronjob file
copy:
src: "{{files}}/reg-server/cron-prod"
dest: "/etc/cron.d/reg-server"
- name: Install cronjob file - stg
copy:
src: "{{files}}/reg-server/cron-stg"
dest: "/etc/cron.d/reg-server"
when: env == "staging"