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

Replace apt state=installed by state=present

This would be removed in 2.9
parent e4cd88e1
No related branches found
No related tags found
No related merge requests found
...@@ -38,7 +38,7 @@ ...@@ -38,7 +38,7 @@
- name: ensure we get notified of unsupported packages - name: ensure we get notified of unsupported packages
apt: apt:
name: debian-security-support name: debian-security-support
state: installed state: present
tags: tags:
- packages - packages
- apt - apt
...@@ -46,7 +46,7 @@ ...@@ -46,7 +46,7 @@
- name: ensure we may use the debconf module - name: ensure we may use the debconf module
apt: apt:
name: debconf-utils name: debconf-utils
state: installed state: present
tags: tags:
- packages - packages
- apt - apt
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
- name: ensure ntpd is installed - name: ensure ntpd is installed
apt: apt:
name: ntp name: ntp
state: installed state: present
tags: tags:
- ntpd - ntpd
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
- name: ensure installation of basic shell commands - name: ensure installation of basic shell commands
apt: apt:
name: "{{ item }}" name: "{{ item }}"
state: installed state: present
install_recommends: no install_recommends: no
with_items: with_items:
- git - git
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
- name: ensure installaton of some additional software - name: ensure installaton of some additional software
apt: apt:
name: "{{ item }}" name: "{{ item }}"
state: installed state: present
with_items: with_items:
- aptitude - aptitude
- atop - atop
...@@ -53,7 +53,7 @@ ...@@ -53,7 +53,7 @@
- name: ensure installation of variable additional software - name: ensure installation of variable additional software
apt: apt:
name: "{{ item }}" name: "{{ item }}"
state: installed state: present
with_items: "{{ shell_software }}" with_items: "{{ shell_software }}"
tags: tags:
- packages - packages
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
- name: ensure sshd is installed - name: ensure sshd is installed
apt: apt:
name: openssh-server name: openssh-server
state: installed state: present
tags: tags:
- ssh - ssh
- packages - packages
...@@ -107,7 +107,7 @@ ...@@ -107,7 +107,7 @@
- name: ensure we fail2ban bad people - name: ensure we fail2ban bad people
apt: apt:
name: fail2ban name: fail2ban
state: installed state: present
tags: tags:
- ssh - ssh
- packages - packages
...@@ -115,7 +115,7 @@ ...@@ -115,7 +115,7 @@
- name: ensure we got ourselves protected from sleepiness - name: ensure we got ourselves protected from sleepiness
apt: apt:
name: molly-guard name: molly-guard
state: installed state: present
tags: tags:
- molly - molly
- packages - packages
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment