changes and order playbooks

This commit is contained in:
Ruben Blanco 2023-10-18 12:26:07 +02:00
parent 24ac41d02a
commit ac505c7e8d
7 changed files with 24 additions and 15 deletions

View File

@ -7,9 +7,6 @@
tasks:
- name: "[BASE CONFIG] Configure debian os"
- name: "[CONFIG BASE DEBIAN OS] Configure debian os"
import_role:
name: config-base-debian-os
# handlers:
# - include_tasks: roles/base-config-debian-os/handlers/main.yaml

View File

@ -7,6 +7,6 @@
tasks:
- name: "[FAIL2BAN CONFIG] Install and configure fail2ban service"
- name: "[CONFIG FAIL2BAN] Install and configure fail2ban service"
import_role:
name: configure-fail2ban
name: config-fail2ban

View File

@ -0,0 +1,12 @@
---
- hosts: "{{ ip_addr }}"
become: yes
become_method: sudo
gather_facts: no
tasks:
- name: "[CONFIG NAGIOS NRPE] Install and configure nagios nrpe service"
import_role:
name: config-nagios-nrpe

View File

@ -6,7 +6,7 @@
gather_facts: no
tasks:
- name: "example"
handlers:
- include_tasks: roles/config-repo-vn/handlers/main.yaml
- name: "[CONFIG REPO VN] Add-repos-vn"
import_role:
name: config-repo-vn

View File

@ -7,6 +7,6 @@
tasks:
- name: "[HARDNENING] Configure SSH root user"
- name: "[CONFIG ROOT USER] Configure SSH root user"
import_role:
name: config-root-user

View File

@ -6,7 +6,7 @@
gather_facts: no
tasks:
- name: "example"
handlers:
- include_tasks: roles/server-type/handlers/main.yaml
- name: "[CONFIG SERVER TYPE] Install guest side"
import_role:
name: config-server-type