You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible/test/integration/targets/apt/tasks/upgrade_scenarios.yml

26 lines
733 B
YAML

# See https://github.com/ansible/ansible/issues/77868
# fail_on_autoremove is not valid parameter for aptitude
- name: Use fail_on_autoremove using aptitude
apt:
upgrade: yes
fail_on_autoremove: yes
register: fail_on_autoremove_result
- name: Check if fail_on_autoremove does not fail with aptitude
assert:
that:
- not fail_on_autoremove_result.failed
# See https://github.com/ansible/ansible/issues/77868
# allow_downgrade is not valid parameter for aptitude
- name: Use allow_downgrade using aptitude
apt:
upgrade: yes
allow_downgrade: yes
register: allow_downgrade_result
- name: Check if allow_downgrade does not fail with aptitude
assert:
that:
- not allow_downgrade_result.failed