This commit is contained in:
Ruben Blanco 2023-10-18 11:07:16 +02:00
parent 22ebc83dba
commit 24ac41d02a
5 changed files with 12 additions and 66 deletions

View File

@ -27,35 +27,20 @@
name: config-repo-vn
tags: config-repo-vn_config
- name: "[FAIL2BAN CONFIG] Install and configure fail2ban service"
- name: "[CONFIG FAIL2BAN] Install and configure fail2ban service"
import_role:
name: configure-fail2ban
tags: fail2ban-config_config
name: config-fail2ban
tags: config-fail2ban_config
- name: "[NAGIOS NRPE] Install and configure nagios nrpe service"
- name: "[CONFIG NAGIOS NRPE] Install and configure nagios nrpe service"
import_role:
name: nagios-nrpe
tags: nagios-nrpe_config
name: config-nagios-nrpe
tags: config-nagios-nrpe_config
- name: "[GUEST SIDE] Install guest side"
- name: "[CONFIG SERVER TYPE] Install guest side"
import_role:
name: server-type
tags: server-type_config
- name: "[CONFIG VIM] Configure vim options"
import_role:
name: vim-options
tags: vim-options_config
- name: "[CONFIG BASHRC] Configure bashrc"
import_role:
name: configure-bashrc
tags: configure-bashrc_config
- name: "[CONFIG USRMERGE] Configure usrmerge"
import_role:
name: configure-usrmerge
tags: configure-usrmerge_config
name: config-server-type
tags: config-server-type_config
handlers:
- include_tasks: roles/{{ item }}/handlers/main.yaml
@ -64,9 +49,6 @@ handlers:
- config-root-user
- config-base-debian-os
- config-repo-vn
#- configure-fail2ban # or hacer
#- nagios-nrpe # or hacer
#- config-server-type # or hacer
#- vim-options # or hacer
#- configure-bashrc # or hacer
#- configure-usrmerge # or hacer
#- config-fail2ban # or hacer
#- config-nagios-nrpe # or hacer
#- config-server-type # or hacer

View File

@ -1,12 +0,0 @@
---
- hosts: "{{ ip_addr }}"
become: yes
become_method: sudo
gather_facts: no
tasks:
- name: "example"
handlers:
- include_tasks: roles/configure-bashrc/handlers/main.yaml

View File

@ -1,12 +0,0 @@
---
- hosts: "{{ ip_addr }}"
become: yes
become_method: sudo
gather_facts: no
tasks:
- name: "example"
handlers:
- include_tasks: roles/configure-usrmerge/handlers/main.yaml

View File

@ -1,12 +0,0 @@
---
- hosts: "{{ ip_addr }}"
become: yes
become_method: sudo
gather_facts: no
tasks:
- name: "example"
handlers:
- include_tasks: roles/vim-options/handlers/main.yaml