Tag tasks in copr/frontend role

This commit is contained in:
Mikolaj Izdebski 2018-08-27 20:08:41 +00:00
parent b996789ba9
commit 4b511a2c70

View file

@ -7,6 +7,7 @@
# workaround for https://bugzilla.redhat.com/show_bug.cgi?id=1622513 # workaround for https://bugzilla.redhat.com/show_bug.cgi?id=1622513
- python3-requests - python3-requests
tags: tags:
- copr
- packages - packages
- name: install copr configs - name: install copr configs
@ -14,6 +15,7 @@
notify: notify:
- reload httpd - reload httpd
tags: tags:
- copr
- config - config
- name: copy apache files to conf.d (templates) - name: copy apache files to conf.d (templates)
@ -21,12 +23,14 @@
notify: notify:
- reload httpd - reload httpd
tags: tags:
- copr
- config - config
- name: set staging banner for staging instance - name: set staging banner for staging instance
when: env == 'staging' when: env == 'staging'
copy: src=banner-include.html dest=/var/lib/copr/ copy: src=banner-include.html dest=/var/lib/copr/
tags: tags:
- copr
- config - config
# https://bugzilla.redhat.com/show_bug.cgi?id=1535689 # https://bugzilla.redhat.com/show_bug.cgi?id=1535689
@ -36,17 +40,20 @@
state: yes state: yes
persistent: yes persistent: yes
tags: tags:
- copr
- selinux - selinux
- name: enable and start httpd - name: enable and start httpd
service: name=httpd state=started enabled=yes service: name=httpd state=started enabled=yes
tags: tags:
- copr
- service - service
- name: enable and start pagure-events - name: enable and start pagure-events
service: name=pagure-events enabled=yes state=started service: name=pagure-events enabled=yes state=started
when: not 'pagure-events.service is missing in latest copr-frontend rpm in f28 repos' when: not 'pagure-events.service is missing in latest copr-frontend rpm in f28 repos'
tags: tags:
- copr
- service - service
- name: set up admins - name: set up admins