only deal with artifacts dirs/conf for taskotron hosts
This commit is contained in:
parent
9bf5591ecd
commit
e2e0e2ed25
1 changed files with 2 additions and 0 deletions
|
@ -25,11 +25,13 @@
|
|||
|
||||
- name: copy artifacts httpd config
|
||||
template: src=artifacts.conf.j2 dest=/etc/httpd/conf.d/artifacts.conf owner=root group=root
|
||||
when: deployment_type == 'taskotron-prod' or deployment_type == 'taskotron-stg' or deployment_type == 'taskotron-dev' or deployment_type == 'taskotron-local'
|
||||
notify:
|
||||
- restart httpd
|
||||
|
||||
- name: create artifacts directory
|
||||
file: path={{ item }} state=directory owner=buildmaster group=buildmaster mode=0775 setype=httpd_sys_content_t
|
||||
when: deployment_type == 'taskotron-prod' or deployment_type == 'taskotron-stg' or deployment_type == 'taskotron-dev' or deployment_type == 'taskotron-local'
|
||||
with_items:
|
||||
- /srv/taskotron
|
||||
- /srv/taskotron/artifacts
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue