fix ansible-lint error by not comparing to literal false
This commit is contained in:
parent
bb24e6fd5a
commit
cf5e6c4e1a
|
@ -7,7 +7,7 @@
|
|||
when: nginx__use_custom_nginx_conf
|
||||
block:
|
||||
- name: when no `nginx.conf.ansiblesave` is present, save the current `nginx.conf`
|
||||
when: nginx__nginx_conf_ansiblesave_stat_result.stat.exists == false
|
||||
when: not nginx__nginx_conf_ansiblesave_stat_result.stat.exists
|
||||
ansible.builtin.copy:
|
||||
force: true
|
||||
dest: /etc/nginx/nginx.conf.ansiblesave
|
||||
|
|
Loading…
Reference in a new issue