Skip to content
Snippets Groups Projects
Commit 276f6570 authored by Robin Sonnabend's avatar Robin Sonnabend
Browse files

Replace apt state=installed by state=present

This will be removed in 2.9
parent 62f13297
No related branches found
No related tags found
No related merge requests found
......@@ -4,7 +4,7 @@
- name: ensure baremetal-specific packages are installed
apt:
name: "{{ item }}"
state: installed
state: present
with_items:
- lldpd
- lm-sensors
......@@ -38,7 +38,7 @@
- name: ensure microcode updates are available (Intel)
apt:
name: intel-microcode
state: installed
state: present
when: ansible_processor[1] == 'GenuineIntel'
tags:
- baremetal
......@@ -47,7 +47,7 @@
- name: ensure microcode updates are available (AMD)
apt:
name: amd64-microcode
state: installed
state: present
when: ansible_processor[1] == 'AuthenticAMD'
tags:
- baremetal
......
......@@ -81,7 +81,7 @@
- name: ensure apt https transport is available
apt:
name: apt-transport-https
state: installed
state: present
with_items: "{{ branding_apt_repos }}"
when:
- branding_apt_repos is defined
......
......@@ -4,7 +4,7 @@
- name: ensure any dependencies are available
apt:
name: "{{ item }}"
state: installed
state: present
with_items:
- python3
- fortune-mod
......
......@@ -3,7 +3,7 @@
- name: ensure required software for ansible is installed
apt:
name: "{{ item }}"
state: installed
state: present
with_items:
- python-yaml
- python-jinja2
......@@ -53,14 +53,14 @@
- name: ensure we can ipmi other hosts
apt:
name: ipmitool
state: installed
state: present
tags:
- management
- name: ensure we have the necessary packages for building packages
apt:
name: "{{ item }}"
state: installed
state: present
with_items:
- build-essential
- devscripts
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment