From add7afa00b75d4cf83900471d2701e3bcd29252f Mon Sep 17 00:00:00 2001 From: jaydee Date: Sun, 15 Dec 2024 22:54:16 +0100 Subject: [PATCH] initial --- desktop.yml | 4 +++- roles/ssh_banner/tasks/main.yml | 7 +++++-- test.yml | 2 +- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/desktop.yml b/desktop.yml index 8c48401..c3b6309 100755 --- a/desktop.yml +++ b/desktop.yml @@ -12,4 +12,6 @@ - role: autofs_client tags: autofs_client - role: ldap_client - tags: ldap_client \ No newline at end of file + tags: ldap_client + - role: wazuh-agent + tags: wazuh-agent \ No newline at end of file diff --git a/roles/ssh_banner/tasks/main.yml b/roles/ssh_banner/tasks/main.yml index 8cdebc6..f56f6bf 100755 --- a/roles/ssh_banner/tasks/main.yml +++ b/roles/ssh_banner/tasks/main.yml @@ -4,7 +4,7 @@ name: - figlet - toilet - + - name: Create Banner ansible.builtin.command: | figlet -c {{ (inventory_hostname|split('.'))[0] }} -f slant @@ -32,4 +32,7 @@ ansible.builtin.service: name: ssh.service state: restarted - become: true \ No newline at end of file + become: true + + + \ No newline at end of file diff --git a/test.yml b/test.yml index 0fd3f03..dc55048 100755 --- a/test.yml +++ b/test.yml @@ -1,4 +1,4 @@ --- - hosts: datacenter roles: - - omv_backup \ No newline at end of file + - wazuh-agent \ No newline at end of file