git.yml: 'bool' in when clause is deprecated.
This commit is contained in:
@@ -32,8 +32,7 @@
|
||||
git:
|
||||
repo: "{{ git_firewall_repository.repo }}"
|
||||
dest: "{{ git_firewall_repository.dest }}"
|
||||
#when: git_firewall_repository is defined and git_firewall_repository > 0
|
||||
when: git_firewall_repository|bool
|
||||
when: git_firewall_repository is defined and git_firewall_repository | length > 0
|
||||
tags:
|
||||
- git-firewall-repository
|
||||
|
||||
|
||||
Reference in New Issue
Block a user