File tree Expand file tree Collapse file tree 2 files changed +17
-1
lines changed
Expand file tree Collapse file tree 2 files changed +17
-1
lines changed Original file line number Diff line number Diff line change 11---
22
3-
43- name : common | Create the directories for site specific configurations
54 file :
65 path="{{nginx_etc}}/{{item}}"
1211 - " sites-available"
1312 - " sites-enabled"
1413
14+ - name : common | Copy the nginx default configuration file
15+ template :
16+ src=default.conf.j2
17+ dest=/etc/nginx/conf.d/default.conf
18+
19+ - name : common |Copy the nginx default site configuration file
20+ template :
21+ src=default.j2
22+ dest=/etc/nginx/sites-available/default
23+
24+ - name : common | Create the link for site enabled specific configurations
25+ file :
26+ path=/etc/nginx/sites-enabled/default
27+ state=link
28+ src=/etc/nginx/sites-available/default
29+
1530- name : common | Create the configuration files for nginx
1631 template :
1732 src=site.j2
Original file line number Diff line number Diff line change 1+ #{{ ansible_managed }}
You can’t perform that action at this time.
0 commit comments