File tree 2 files changed +34
-0
lines changed
2 files changed +34
-0
lines changed Original file line number Diff line number Diff line change
1
+ - name : branding
2
+ hosts : branding
3
+ roles :
4
+ - common
5
+ - webserver
6
+ - branding
Original file line number Diff line number Diff line change
1
+ - include : ../../common/tasks/setfacts.yml
2
+ tags :
3
+ - branding
4
+
5
+ - name : Ensure data directory exists
6
+ file : path=/srv/{{ branding_url }}/www/{{ item }} state=directory owner={{ansible_user}} group={{ansible_user}}
7
+ with_items :
8
+ - " {{ branding_path }}"
9
+ tags :
10
+ - branding
11
+
12
+ - name : add nginx vhost if configured
13
+ include_role :
14
+ name : nginx_vhost
15
+ vars :
16
+ appname : " branding"
17
+ hostname : " {{ branding_hostname }}"
18
+ context_path : " /"
19
+ nginx_paths :
20
+ - path : " /"
21
+ sort_label : " 1"
22
+ is_proxy : false
23
+ alias : " /srv/{{ branding_url }}/www/"
24
+ tags :
25
+ - nginx_vhost
26
+ - deploy
27
+ - branding
28
+ when : webserver_nginx
You can’t perform that action at this time.
0 commit comments