Ansible-lint: Fix line longer than 160 chars
This commit is contained in:
parent
e9a83261fa
commit
4576ec6ed4
|
@ -1,3 +1,8 @@
|
||||||
|
## v1.X.Y
|
||||||
|
|
||||||
|
### Fix
|
||||||
|
* Ansible-lint: Fix line longer than 160 chars.
|
||||||
|
|
||||||
## v1.7.0
|
## v1.7.0
|
||||||
|
|
||||||
### Features
|
### Features
|
||||||
|
|
|
@ -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 }}"
|
||||||
|
|
Loading…
Reference in New Issue