From 443efffc41984ac604ffa733dd936fecd83006dd Mon Sep 17 00:00:00 2001 From: Trygve Laugstøl Date: Sat, 24 Feb 2018 15:42:59 +0100 Subject: wip --- ansible/roles/mw-frontend/tasks/main.yml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'ansible/roles/mw-frontend/tasks') diff --git a/ansible/roles/mw-frontend/tasks/main.yml b/ansible/roles/mw-frontend/tasks/main.yml index b7bb13f..40906ea 100644 --- a/ansible/roles/mw-frontend/tasks/main.yml +++ b/ansible/roles/mw-frontend/tasks/main.yml @@ -1,5 +1,8 @@ --- -- name: apache config - copy: - src: etc/apache2/sites-available/mw.trygvis.io-ssl.conf - dest: /etc/apache2/sites-available/mw.trygvis.io-ssl.conf +- name: Apache config + become: yes + block: + - name: apache config + copy: + src: etc/apache2/sites-available/mw.trygvis.io-ssl.conf + dest: /etc/apache2/sites-available/mw.trygvis.io-ssl.conf -- cgit v1.2.3