summaryrefslogtreecommitdiffstats
path: root/test/integration/targets
diff options
context:
space:
mode:
authorMartin Krizek <martin.krizek@gmail.com>2019-04-16 17:42:53 +0200
committerSloane Hertel <shertel@redhat.com>2019-04-16 17:42:53 +0200
commit4ec8599c3801e4737fddcca9b1d034885404a9c1 (patch)
treea4a2c7ba651357412ae4fb6ba20997a32ea275f0 /test/integration/targets
parentACI: Cleanup deprecated boolean behaviour (#55207) (diff)
downloadansible-4ec8599c3801e4737fddcca9b1d034885404a9c1.tar.xz
ansible-4ec8599c3801e4737fddcca9b1d034885404a9c1.zip
apt: remove deprecated installed/removed aliases (#55338)
* apt: remove deprecated installed/removed aliases Fixes #55311
Diffstat (limited to 'test/integration/targets')
-rw-r--r--test/integration/targets/apt/tasks/repo.yml4
-rw-r--r--test/integration/targets/iso_extract/tasks/7zip.yml2
-rw-r--r--test/integration/targets/prepare_ovs_tests/tasks/main.yml2
3 files changed, 4 insertions, 4 deletions
diff --git a/test/integration/targets/apt/tasks/repo.yml b/test/integration/targets/apt/tasks/repo.yml
index 0288a07c7c..f568be9ffc 100644
--- a/test/integration/targets/apt/tasks/repo.yml
+++ b/test/integration/targets/apt/tasks/repo.yml
@@ -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
diff --git a/test/integration/targets/iso_extract/tasks/7zip.yml b/test/integration/targets/iso_extract/tasks/7zip.yml
index 266088e639..4642f6e05a 100644
--- a/test/integration/targets/iso_extract/tasks/7zip.yml
+++ b/test/integration/targets/iso_extract/tasks/7zip.yml
@@ -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']
diff --git a/test/integration/targets/prepare_ovs_tests/tasks/main.yml b/test/integration/targets/prepare_ovs_tests/tasks/main.yml
index e29042e050..23e22f537b 100644
--- a/test/integration/targets/prepare_ovs_tests/tasks/main.yml
+++ b/test/integration/targets/prepare_ovs_tests/tasks/main.yml
@@ -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'