mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-08-29 17:31:42 -07:00
Adjust YAML files (#10233)
Adjust YAML files.
(cherry picked from commit eaa5e07b28
)
This commit is contained in:
parent
e8ff74f077
commit
a9e892952d
244 changed files with 7272 additions and 7329 deletions
|
@ -43,12 +43,12 @@
|
|||
- name: assert single alias
|
||||
assert:
|
||||
that:
|
||||
- alias_single_0 is changed
|
||||
- alias_single_1 is changed
|
||||
- alias_single_2 is not changed
|
||||
- alias_single_3 is not changed
|
||||
- 'alias_single_1.snap_aliases["hello-world"] == ["hw"]'
|
||||
- 'alias_single_3.snap_aliases["hello-world"] == ["hw"]'
|
||||
- alias_single_0 is changed
|
||||
- alias_single_1 is changed
|
||||
- alias_single_2 is not changed
|
||||
- alias_single_3 is not changed
|
||||
- 'alias_single_1.snap_aliases["hello-world"] == ["hw"]'
|
||||
- 'alias_single_3.snap_aliases["hello-world"] == ["hw"]'
|
||||
|
||||
- name: Create multiple aliases (check mode)
|
||||
community.general.snap_alias:
|
||||
|
@ -79,12 +79,12 @@
|
|||
- name: assert multi alias
|
||||
assert:
|
||||
that:
|
||||
- alias_multi_0 is changed
|
||||
- alias_multi_1 is changed
|
||||
- alias_multi_2 is not changed
|
||||
- alias_multi_3 is not changed
|
||||
- 'alias_multi_1.snap_aliases["hello-world"] == ["hw", "hw2", "hw3"]'
|
||||
- 'alias_multi_3.snap_aliases["hello-world"] == ["hw", "hw2", "hw3"]'
|
||||
- alias_multi_0 is changed
|
||||
- alias_multi_1 is changed
|
||||
- alias_multi_2 is not changed
|
||||
- alias_multi_3 is not changed
|
||||
- 'alias_multi_1.snap_aliases["hello-world"] == ["hw", "hw2", "hw3"]'
|
||||
- 'alias_multi_3.snap_aliases["hello-world"] == ["hw", "hw2", "hw3"]'
|
||||
|
||||
- name: Remove one specific alias (check mode)
|
||||
community.general.snap_alias:
|
||||
|
@ -115,12 +115,12 @@
|
|||
- name: assert remove alias
|
||||
assert:
|
||||
that:
|
||||
- alias_remove_0 is changed
|
||||
- alias_remove_1 is changed
|
||||
- alias_remove_2 is not changed
|
||||
- alias_remove_3 is not changed
|
||||
- 'alias_remove_1.snap_aliases["hello-world"] == ["hw2", "hw3"]'
|
||||
- 'alias_remove_3.snap_aliases["hello-world"] == ["hw2", "hw3"]'
|
||||
- alias_remove_0 is changed
|
||||
- alias_remove_1 is changed
|
||||
- alias_remove_2 is not changed
|
||||
- alias_remove_3 is not changed
|
||||
- 'alias_remove_1.snap_aliases["hello-world"] == ["hw2", "hw3"]'
|
||||
- 'alias_remove_3.snap_aliases["hello-world"] == ["hw2", "hw3"]'
|
||||
|
||||
- name: Remove all aliases for snap (check mode)
|
||||
community.general.snap_alias:
|
||||
|
@ -151,9 +151,9 @@
|
|||
- name: assert remove_all alias
|
||||
assert:
|
||||
that:
|
||||
- alias_remove_all_0 is changed
|
||||
- alias_remove_all_1 is changed
|
||||
- alias_remove_all_2 is not changed
|
||||
- alias_remove_all_3 is not changed
|
||||
- 'alias_remove_all_1.snap_aliases["hello-world"] == []'
|
||||
- 'alias_remove_all_3.snap_aliases["hello-world"] == []'
|
||||
- alias_remove_all_0 is changed
|
||||
- alias_remove_all_1 is changed
|
||||
- alias_remove_all_2 is not changed
|
||||
- alias_remove_all_3 is not changed
|
||||
- 'alias_remove_all_1.snap_aliases["hello-world"] == []'
|
||||
- 'alias_remove_all_3.snap_aliases["hello-world"] == []'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue