This commit is contained in:
Ruben Blanco 2023-10-18 09:48:44 +02:00
parent 5673b789d1
commit 486f3d7762
1 changed files with 22 additions and 22 deletions

View File

@ -7,20 +7,25 @@
tasks: tasks:
- name: "[CREATE AWX-USER] Create awx user and config ssh-key" - name: "[CONFIG AWX-USER] Create awx user and config ssh-key"
import_role: import_role:
name: config-awx-user name: config-awx-user
tags: awx-user_config tags: config-awx-user_config
- name: "[HARDNENING] Configure SSH root user" - name: "[CONFIG ROOT USER] Configure SSH root user"
import_role: import_role:
name: config-root-user name: config-root-user
tags: config-root_config tags: config-root-user_config
- name: "[COMMON BASE CONFIG] Configure debian os" - name: "[CONFIG BASE DEBIAN OS] Configure debian os"
import_role: import_role:
name: common-base-config-debian-os name: config-base-debian-os
tags: common-base-os_config tags: cconfig-base-debian-os_config
- name: "[CONFIG REPO VN] Add-repos-vn"
import_role:
name: config-repo-vn
tags: config-repo-vn_config
- name: "[FAIL2BAN CONFIG] Install and configure fail2ban service" - name: "[FAIL2BAN CONFIG] Install and configure fail2ban service"
import_role: import_role:
@ -37,11 +42,6 @@
name: server-type name: server-type
tags: server-type_config tags: server-type_config
- name: "[CONFIG REPOS] Add-repos-vn"
import_role:
name: add-repos-vn
tags: add-repos-vn_config
- name: "[CONFIG VIM] Configure vim options" - name: "[CONFIG VIM] Configure vim options"
import_role: import_role:
name: vim-options name: vim-options
@ -60,13 +60,13 @@
handlers: handlers:
- include_tasks: roles/{{ item }}/handlers/main.yaml - include_tasks: roles/{{ item }}/handlers/main.yaml
with_items: with_items:
- create-awx-user-and-config - config-awx-user
- hardnening-config-root-user - config-root-user
- base-config-debian-os - config-base-debian-os
- configure-fail2ban - config-repo-vn
- nagios-nrpe #- configure-fail2ban # or hacer
#- server-type # Eliminada se aplica en common-base-config-debian #- nagios-nrpe # or hacer
- add-repos-vn #- config-server-type # or hacer
- vim-options #- vim-options # or hacer
- configure-bashrc #- configure-bashrc # or hacer
- configure-usrmerge #- configure-usrmerge # or hacer