Ansible-lint: Fix line longer than 160 chars

This commit is contained in:
Jeremy Gardais 2021-01-05 15:58:43 +01:00
parent e9a83261fa
commit 4576ec6ed4
Signed by: jegardai
GPG Key ID: E759BAA22501AF32
2 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,8 @@
## v1.X.Y
### Fix
* Ansible-lint: Fix line longer than 160 chars.
## v1.7.0 ## v1.7.0
### Features ### Features

View File

@ -26,7 +26,10 @@
loop_var: varfile loop_var: varfile
- name: Combine Rules when nft_merged_groups is set - name: Combine Rules when nft_merged_groups is set
when: nft_merged_groups and (hostvars[inventory_hostname][varfile.groupname] is defined and hostvars[inventory_hostname][varfile.groupname]|length > 0) and varfile.stat.exists when: nft_merged_groups and
((hostvars[inventory_hostname][varfile.groupname] is defined) and
(hostvars[inventory_hostname][varfile.groupname]|length > 0)) and
varfile.stat.exists
set_fact: set_fact:
nft_combined_rules: "{{ nft_combined_rules | default({}) | combine ( hostvars[inventory_hostname][varfile.groupname], recursive=True ) }}" nft_combined_rules: "{{ nft_combined_rules | default({}) | combine ( hostvars[inventory_hostname][varfile.groupname], recursive=True ) }}"
loop: "{{ nftables_group_rules.results }}" loop: "{{ nftables_group_rules.results }}"