aboutsummaryrefslogtreecommitdiff
path: root/ansible/roles/mw-frontend/tasks
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2018-02-24 15:42:59 +0100
committerTrygve Laugstøl <trygvis@inamo.no>2018-02-24 15:42:59 +0100
commit443efffc41984ac604ffa733dd936fecd83006dd (patch)
tree5fc57dc1c54166959956d877abd711a8bef22553 /ansible/roles/mw-frontend/tasks
parentfb6825f869e7895940a3df2f15da6cdac32a1e0b (diff)
downloadinfra-443efffc41984ac604ffa733dd936fecd83006dd.tar.gz
infra-443efffc41984ac604ffa733dd936fecd83006dd.tar.bz2
infra-443efffc41984ac604ffa733dd936fecd83006dd.tar.xz
infra-443efffc41984ac604ffa733dd936fecd83006dd.zip
wip
Diffstat (limited to 'ansible/roles/mw-frontend/tasks')
-rw-r--r--ansible/roles/mw-frontend/tasks/main.yml11
1 files changed, 7 insertions, 4 deletions
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