Files
fedora-infra_ansible/roles/apps-fp-o/tasks/main.yml
2016-12-01 22:51:37 +00:00

46 lines
1.1 KiB
YAML

- name: Install that apps-fp-o rpm package
yum: name=apps-fp-o state=present
tags:
- apps-fp-o
- name: Copy in the proxy config
copy: >
src=apps.fp.o.conf dest=/etc/httpd/conf.d/{{website}}/apps.fp.o.conf
owner=root group=root mode=0644
notify:
- reload proxyhttpd
tags:
- apps-fp-o
- name: Copy in some global assets used around our apps
synchronize: src=global/ dest=/srv/web/apps-fp-o/global/
tags:
- apps-fp-o
- name: Copy in fedmenu assets for staging
synchronize: src=fedmenu-staging/ dest=/srv/web/apps-fp-o/fedmenu/
when: env == 'staging'
tags:
- apps-fp-o
- name: Copy in fedmenu assets for production
synchronize: src=fedmenu/ dest=/srv/web/apps-fp-o/fedmenu/
when: env != 'staging'
tags:
- apps-fp-o
- name: Copy in our app data yaml
copy: >
src=apps.yaml dest=/usr/share/apps-fp-o/apps.yaml
owner=root group=root mode=0644
notify:
- rebuild apps-fp-o html
- rebuild apps-fp-o json
tags:
- apps-fp-o
- name: Copy over any extra icons we carry
synchronize: src=img/icons/ dest=/srv/web/apps-fp-o/img/icons/
tags:
- apps-fp-o