-
-
Notifications
You must be signed in to change notification settings - Fork 26
/
Debian.yml
27 lines (23 loc) · 801 Bytes
/
Debian.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
---
- name: "Debian/Ubuntu | Installing repository key"
apt_key:
url: https://www.atomicorp.com/RPM-GPG-KEY.atomicorp.txt
- name: "Debian/Ubuntu | Installing repository"
apt_repository:
repo: "deb https://updates.atomicorp.com/channels/atomic/{{ ansible_distribution | lower }} {{ ansible_distribution_release }} main"
state: present
- name: "Debian/Ubuntu | Install ossec-hids"
apt:
pkg: ossec-hids-server
state: present
- block:
- name: "Set Distribution CIS filename for Debian/Ubuntu"
set_fact:
cis_distribution_filename: cis_debian_linux_rcl.txt
- name: "Set ossec deploy facts for Debian"
set_fact:
ossec_server_config_filename: ossec.conf
ossec_init_name: ossec
ossec_authd_init_name: ossec
tags:
- always