mirror of
https://github.com/dev-sec/ansible-collection-hardening
synced 2024-11-10 09:14:18 +00:00
add procps for Debian
Signed-off-by: Martin Schurz <Martin.Schurz@t-systems.com>
This commit is contained in:
parent
5cc7b8dee3
commit
f02f8b9a90
2 changed files with 23 additions and 0 deletions
|
@ -13,6 +13,13 @@
|
||||||
when:
|
when:
|
||||||
- ansible_os_family == 'Suse'
|
- ansible_os_family == 'Suse'
|
||||||
|
|
||||||
|
- name: install procps for debian systems
|
||||||
|
apt:
|
||||||
|
name: procps
|
||||||
|
state: present
|
||||||
|
update_cache: true
|
||||||
|
when: ansible_distribution == 'Debian'
|
||||||
|
|
||||||
- name: include tests for the service
|
- name: include tests for the service
|
||||||
include_tasks: verify_tasks/service.yml
|
include_tasks: verify_tasks/service.yml
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,19 @@
|
||||||
|
---
|
||||||
|
- name: Verify
|
||||||
|
hosts: all
|
||||||
|
become: true
|
||||||
|
environment:
|
||||||
|
http_proxy: "{{ lookup('env', 'http_proxy') | default(omit) }}"
|
||||||
|
https_proxy: "{{ lookup('env', 'https_proxy') | default(omit) }}"
|
||||||
|
no_proxy: "{{ lookup('env', 'no_proxy') | default(omit) }}"
|
||||||
|
tasks:
|
||||||
|
- name: install procps for debian systems
|
||||||
|
apt:
|
||||||
|
name: procps
|
||||||
|
state: present
|
||||||
|
update_cache: true
|
||||||
|
when: ansible_distribution == 'Debian'
|
||||||
|
|
||||||
- name: Verify
|
- name: Verify
|
||||||
hosts: localhost
|
hosts: localhost
|
||||||
environment:
|
environment:
|
||||||
|
|
Loading…
Reference in a new issue