mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 13:52:54 +00:00
apt: remove deprecated installed/removed aliases (#55338)
* apt: remove deprecated installed/removed aliases Fixes #55311
This commit is contained in:
committed by
Sloane Hertel
parent
9495ddbc21
commit
4ec8599c38
@@ -46,7 +46,7 @@
|
||||
- name: Fail to install foo=1.0.1 since foo is not installed and only_upgrade is set
|
||||
apt:
|
||||
name: foo=1.0.1
|
||||
state: installed
|
||||
state: present
|
||||
only_upgrade: yes
|
||||
allow_unauthenticated: yes
|
||||
ignore_errors: yes
|
||||
@@ -64,7 +64,7 @@
|
||||
- name: Upgrade foo to 1.0.1
|
||||
apt:
|
||||
name: foo=1.0.1
|
||||
state: installed
|
||||
state: present
|
||||
only_upgrade: yes
|
||||
allow_unauthenticated: yes
|
||||
register: apt_result
|
||||
|
||||
@@ -55,7 +55,7 @@
|
||||
- name: Install 7zip package if we are on Ubuntu
|
||||
apt:
|
||||
name: p7zip-full
|
||||
state: installed
|
||||
state: present
|
||||
update_cache: yes
|
||||
become: yes
|
||||
when: ansible_distribution in ['Ubuntu']
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
- name: Install openvswitch-switch package if we are on Ubuntu
|
||||
apt:
|
||||
name: openvswitch-switch
|
||||
state: installed
|
||||
state: present
|
||||
update_cache: yes
|
||||
become: yes
|
||||
when: ansible_distribution == 'Ubuntu'
|
||||
|
||||
Reference in New Issue
Block a user