mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 22:33:25 +00:00
Remove and prevent trailing whitespace (#10199)
* Remove trailing whitespace. * Add no-trailing-whitespace extra test. * Re-add needed trailing whitespace. * Remove one more trailing whitespace.
This commit is contained in:
@@ -190,7 +190,7 @@
|
||||
state: present
|
||||
|
||||
- name: clean zypper RPM cache
|
||||
file:
|
||||
file:
|
||||
name: /var/cache/zypper/RPMS
|
||||
state: absent
|
||||
|
||||
@@ -267,7 +267,7 @@
|
||||
state: present
|
||||
|
||||
- name: clean zypper RPM cache
|
||||
file:
|
||||
file:
|
||||
name: /var/cache/zypper/RPMS
|
||||
state: absent
|
||||
|
||||
@@ -354,8 +354,8 @@
|
||||
state: absent
|
||||
|
||||
- name: install and remove in the same run, with +- prefix
|
||||
zypper:
|
||||
name:
|
||||
zypper:
|
||||
name:
|
||||
- -hello
|
||||
- +metamail
|
||||
state: present
|
||||
@@ -417,13 +417,13 @@
|
||||
|
||||
- name: try rm patch
|
||||
zypper:
|
||||
name: openSUSE-2016-128
|
||||
name: openSUSE-2016-128
|
||||
type: patch
|
||||
state: absent
|
||||
ignore_errors: true
|
||||
register: zypper_patch
|
||||
- assert:
|
||||
that:
|
||||
that:
|
||||
- zypper_patch is failed
|
||||
- zypper_patch.msg.startswith('Can not remove patches.')
|
||||
|
||||
@@ -434,7 +434,7 @@
|
||||
ignore_errors: true
|
||||
register: zypper_rm
|
||||
- assert:
|
||||
that:
|
||||
that:
|
||||
- zypper_rm is failed
|
||||
- zypper_rm.msg.startswith('Can not remove via URL.')
|
||||
|
||||
@@ -450,7 +450,7 @@
|
||||
type: pattern
|
||||
state: present
|
||||
register: zypper_install_pattern1
|
||||
|
||||
|
||||
- name: install pattern update_test again
|
||||
zypper:
|
||||
name: update_test
|
||||
@@ -479,7 +479,7 @@
|
||||
name: hello
|
||||
state: present
|
||||
register: zypperin2
|
||||
|
||||
|
||||
- assert:
|
||||
that:
|
||||
- zypperin1 is succeeded
|
||||
|
||||
Reference in New Issue
Block a user