small fixes
continuous-integration/drone/push Build is failing Details

This commit is contained in:
Robert Kaussow 2019-07-17 23:56:25 +02:00
parent 521b369f58
commit 853d645ce9
1 changed files with 12 additions and 2 deletions

View File

@ -104,7 +104,18 @@
become_user: root
- block:
- name: Add vhost configuration files
- name: Add default page
template:
src: var/www/vhosts/default/index.html.j2
dest: /var/www/vhosts/default/index.html
owner: "{{ nginx_user }}"
group: "{{ nginx_group }}"
mode: 0750
become: True
become_user: "{{ nginx_user }}"
- block:
- name: Add vhost configurations
template:
src: etc/nginx/sites-available/vhost.j2
dest: "/etc/nginx/sites-available/{{ item.file }}"
@ -129,6 +140,5 @@
loop_control:
label: "{{ item.file }}"
notify: __nginx_reload
when: nginx_default_page_enabled | bool
become: True
become_user: root