Remove roles/mdapi since it's not deployed in openshift
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
This commit is contained in:
parent
b99245d8bd
commit
985642e8ff
3 changed files with 0 additions and 62 deletions
|
@ -1,44 +0,0 @@
|
|||
---
|
||||
# Configuration for the mdapi webapp
|
||||
|
||||
- name: install needed packages
|
||||
dnf: pkg={{ item }} state=present
|
||||
with_items:
|
||||
- mdapi
|
||||
- python3-fedmsg-core
|
||||
- policycoreutils-python-utils
|
||||
tags:
|
||||
- mdapi
|
||||
- packages
|
||||
|
||||
- name: create all the directory for the configuration file
|
||||
file: state=directory path=/etc/mdapi
|
||||
tags:
|
||||
- mdapi
|
||||
- config
|
||||
|
||||
- name: Install the meta-data fetch cron job
|
||||
when: inventory_hostname.startswith(('mdapi01'))
|
||||
template:
|
||||
src: "{{ item | basename }}"
|
||||
dest: "{{ item }}"
|
||||
with_items:
|
||||
- /etc/cron.d/mdapi.cron
|
||||
- /etc/mdapi/mdapi.cfg
|
||||
tags:
|
||||
- mdapi
|
||||
- config
|
||||
|
||||
- name: stop apache service
|
||||
service: name=httpd enabled=no state=stopped
|
||||
ignore_errors: true
|
||||
tags:
|
||||
- mdapi
|
||||
- service
|
||||
|
||||
- name: start the mdapi service
|
||||
service: name=mdapi enabled=yes state=started
|
||||
ignore_errors: true
|
||||
tags:
|
||||
- mdapi
|
||||
- service
|
|
@ -1,14 +0,0 @@
|
|||
HOST = '*'
|
||||
PORT = '8080'
|
||||
PREFIX = '/mdapi'
|
||||
|
||||
{% if env == 'staging' %}
|
||||
KOJI_REPO = 'https://koji.stg.fedoraproject.org/repos/'
|
||||
DL_SERVER = 'http://dl.phx2.fedoraproject.org'
|
||||
{% else %}
|
||||
KOJI_REPO = 'https://koji.fedoraproject.org/repos/'
|
||||
DL_SERVER = 'http://dl.phx2.fedoraproject.org'
|
||||
{% endif %}
|
||||
|
||||
# The koji cert doesn't match its host
|
||||
DL_VERIFY = False
|
|
@ -1,4 +0,0 @@
|
|||
# Fetches repo metadata for mdapi
|
||||
#
|
||||
*/20 * * * * root /usr/bin/mdapi-get_repo_md /etc/mdapi/mdapi.cfg |& grep -vi warning > /dev/null
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue