ansible/tasks/reg-server.yml
Clement Verna 93f26e30f7 Restyle the Container Registry page.
This commit adds a Title and the Fedora Logo to the registry page.
It also adds support for the podman pull command. It is now possible
to copy to the clipboard the command.

Signed-off-by: Clement Verna <cverna@tutanota.com>
2018-09-27 15:51:21 +02:00

50 lines
1.1 KiB
YAML

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