enabling artifacts for taskotron-stg

This commit is contained in:
Tim Flink 2015-03-31 03:22:00 +00:00
parent 68cbae425c
commit 2928c028ba

View file

@ -24,13 +24,13 @@
- restart httpd - restart httpd
- name: copy artifacts httpd config - name: copy artifacts httpd config
when: deployment_type == 'dev' when: deployment_type == 'dev' or deployment_type == 'stg'
template: src=artifacts.conf.j2 dest=/etc/httpd/conf.d/artifacts.conf owner=root group=root template: src=artifacts.conf.j2 dest=/etc/httpd/conf.d/artifacts.conf owner=root group=root
notify: notify:
- restart httpd - restart httpd
- name: create artifacts directory - name: create artifacts directory
when: deployment_type == 'dev' when: deployment_type == 'dev' or deployment_type == 'stg'
file: path={{ item }} state=directory owner=buildmaster group=buildmaster mode=0775 setype=httpd_sys_content_t file: path={{ item }} state=directory owner=buildmaster group=buildmaster mode=0775 setype=httpd_sys_content_t
with_items: with_items:
- /srv/taskotron - /srv/taskotron