diff --git a/linux/base-config-debian/config-base-debian-os.yaml b/linux/base-config-debian/config-base-debian-os.yaml index b5cbe0e..cd2d5a1 100644 --- a/linux/base-config-debian/config-base-debian-os.yaml +++ b/linux/base-config-debian/config-base-debian-os.yaml @@ -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 \ No newline at end of file diff --git a/linux/base-config-debian/fail2ban-config.yaml b/linux/base-config-debian/config-fail2ban.yaml similarity index 55% rename from linux/base-config-debian/fail2ban-config.yaml rename to linux/base-config-debian/config-fail2ban.yaml index a93d6ed..abcbf63 100644 --- a/linux/base-config-debian/fail2ban-config.yaml +++ b/linux/base-config-debian/config-fail2ban.yaml @@ -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 \ No newline at end of file + name: config-fail2ban \ No newline at end of file diff --git a/linux/base-config-debian/config-nagios-nrpe.yaml b/linux/base-config-debian/config-nagios-nrpe.yaml new file mode 100644 index 0000000..b6f6a18 --- /dev/null +++ b/linux/base-config-debian/config-nagios-nrpe.yaml @@ -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 \ No newline at end of file diff --git a/linux/base-config-debian/config-repo-vn.yaml b/linux/base-config-debian/config-repo-vn.yaml index dda8afd..ddec44e 100644 --- a/linux/base-config-debian/config-repo-vn.yaml +++ b/linux/base-config-debian/config-repo-vn.yaml @@ -6,7 +6,7 @@ gather_facts: no tasks: - - name: "example" - - handlers: - - include_tasks: roles/config-repo-vn/handlers/main.yaml \ No newline at end of file + + - name: "[CONFIG REPO VN] Add-repos-vn" + import_role: + name: config-repo-vn diff --git a/linux/base-config-debian/config-root-user.yaml b/linux/base-config-debian/config-root-user.yaml index d420d59..49cbf18 100644 --- a/linux/base-config-debian/config-root-user.yaml +++ b/linux/base-config-debian/config-root-user.yaml @@ -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 \ No newline at end of file + name: config-root-user diff --git a/linux/base-config-debian/config-server-type.yaml b/linux/base-config-debian/config-server-type.yaml index 5a86fe8..4e3cea2 100644 --- a/linux/base-config-debian/config-server-type.yaml +++ b/linux/base-config-debian/config-server-type.yaml @@ -6,7 +6,7 @@ gather_facts: no tasks: - - name: "example" - handlers: - - include_tasks: roles/server-type/handlers/main.yaml \ No newline at end of file + - name: "[CONFIG SERVER TYPE] Install guest side" + import_role: + name: config-server-type diff --git a/linux/base-config-debian/nagios-nrpe.yaml b/linux/base-config-debian/nagios-nrpe.yaml deleted file mode 100644 index e69de29..0000000