mirror of
https://github.com/linux-system-roles/network.git
synced 2026-01-23 02:15:17 +00:00
ansible-lint: Fix jinja[spacing] warnings
Signed-off-by: Wen Liang <liangwen12year@gmail.com>
This commit is contained in:
parent
cd72556282
commit
8174d5320d
2 changed files with 4 additions and 4 deletions
|
|
@ -31,7 +31,7 @@
|
|||
# Device should be present because of autoconnect: true by
|
||||
# default for NM (this might be considered a bug)
|
||||
- what: tasks/assert_device_present.yml
|
||||
when: "{{ network_provider == 'nm' }}"
|
||||
when: network_provider == 'nm'
|
||||
lsr_cleanup:
|
||||
- tasks/cleanup_profile+device.yml
|
||||
|
||||
|
|
@ -103,7 +103,7 @@
|
|||
- tasks/assert_profile_absent.yml
|
||||
lsr_assert_when:
|
||||
- what: tasks/assert_device_absent.yml
|
||||
when: "{{ network_provider == 'nm' }}"
|
||||
when: network_provider == 'nm'
|
||||
lsr_cleanup:
|
||||
- tasks/cleanup_profile+device.yml
|
||||
|
||||
|
|
@ -128,6 +128,6 @@
|
|||
- tasks/get_NetworkManager_NVR.yml
|
||||
lsr_assert_when:
|
||||
- what: tasks/assert_device_absent.yml
|
||||
when: "{{ network_provider == 'nm' }}"
|
||||
when: network_provider == 'nm'
|
||||
lsr_cleanup:
|
||||
- tasks/cleanup_profile+device.yml
|
||||
|
|
|
|||
|
|
@ -41,7 +41,7 @@
|
|||
- name: Conditional asserts
|
||||
include_tasks: "{{ item['what'] }}"
|
||||
when: item['when']
|
||||
loop: "{{ lsr_assert_when|default([]) }}"
|
||||
loop: "{{ lsr_assert_when | default([]) }}"
|
||||
|
||||
- name: "Success in test '{{ lsr_description }}'"
|
||||
debug:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue