File tree Expand file tree Collapse file tree 5 files changed +8
-8
lines changed
Expand file tree Collapse file tree 5 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ nginx_site :
2323 index : " index.html index.htm"
2424 server_name : localhost
2525 listen : 80
26- # # Use josn
26+ # # Use json
2727 location1 : {
2828 name : /,
2929 type : location,
Original file line number Diff line number Diff line change 3131 template :
3232 src=site.j2
3333 dest="{{ nginx_etc }}/sites-available/{{ item.file_name }}.conf"
34- with_items : nginx_site
34+ with_items : " {{ nginx_site }} "
3535 when : nginx_site | lower != 'none'
3636 notify :
3737 - check reload nginx
4242 path="{{ nginx_etc }}/sites-enabled/{{ item.file_name }}.conf"
4343 state=link
4444 src="{{ nginx_etc }}/sites-available/{{ item.file_name }}.conf"
45- with_items : nginx_site
45+ with_items : " {{ nginx_site }} "
4646 notify :
4747 - check reload nginx
4848
6161 service :
6262 name=nginx
6363 state=started
64- enabled=yes
64+ enabled=yes
Original file line number Diff line number Diff line change 1515 apt :
1616 name="{{ item }}"
1717 state="{{nginx_apt_state}}"
18- with_items : ubuntu_pkg
18+ with_items : " {{ ubuntu_pkg }} "
1919 environment : " {{ env }}"
20- when : ansible_os_family == "Debian"
20+ when : ansible_os_family == "Debian"
Original file line number Diff line number Diff line change 2626 yum :
2727 name="{{ item }}"
2828 state=present
29- with_items : redhat_pkg
29+ with_items : " {{ redhat_pkg }} "
Original file line number Diff line number Diff line change 88 pkgin :
99 name="{{ item }}"
1010 state=present
11- with_items : solaris_pkg
11+ with_items : " {{ solaris_pkg }} "
1212
1313- name : common | Create the conf.d
1414 file :
You can’t perform that action at this time.
0 commit comments