[stable-10] Adjust YAML files (#10233) (#10244)

Adjust YAML files (#10233)

Adjust YAML files.

(cherry picked from commit eaa5e07b28)
This commit is contained in:
Felix Fontein 2025-06-15 10:02:03 +02:00 committed by GitHub
commit a9e892952d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
244 changed files with 7272 additions and 7329 deletions

View file

@ -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"] == []'