Change code-style to comply with linting rule 601
This commit is contained in:
parent
3a62659528
commit
3dc3d1d8ca
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
- name: Install nginx-light
|
- name: Install nginx-light
|
||||||
apt: name=nginx-light state=present
|
apt: name=nginx-light state=present
|
||||||
when: nginx_binary.stat.exists == False
|
when: not nginx_binary.stat.exists
|
||||||
|
|
||||||
- name: Stat nginx local service file
|
- name: Stat nginx local service file
|
||||||
stat: path=/etc/systemd/system/nginx.service
|
stat: path=/etc/systemd/system/nginx.service
|
||||||
@ -14,7 +14,7 @@
|
|||||||
|
|
||||||
- name: Make custom nginx.service
|
- name: Make custom nginx.service
|
||||||
command: cp /lib/systemd/system/nginx.service /etc/systemd/system/nginx.service
|
command: cp /lib/systemd/system/nginx.service /etc/systemd/system/nginx.service
|
||||||
when: nginx_service.stat.exists == False
|
when: not nginx_service.stat.exists
|
||||||
|
|
||||||
- name: Configuring nginx to start after pve populated its fuse-mounts
|
- name: Configuring nginx to start after pve populated its fuse-mounts
|
||||||
lineinfile:
|
lineinfile:
|
||||||
|
Loading…
Reference in New Issue
Block a user