Compare commits

..

No commits in common. "0f72226de711f1fb61ca50e0ac388eeb2ecfacc0" and "5ec4037fa340c042694a8f2e826ef6b2c8588d19" have entirely different histories.

6 changed files with 14 additions and 49 deletions

View File

@ -12,6 +12,4 @@
- role: autofs_client - role: autofs_client
tags: autofs_client tags: autofs_client
- role: ldap_client - role: ldap_client
tags: ldap_client tags: ldap_client
- role: wazuh-agent
tags: wazuh-agent

View File

@ -4,7 +4,7 @@
name: name:
- figlet - figlet
- toilet - toilet
- name: Create Banner - name: Create Banner
ansible.builtin.command: | ansible.builtin.command: |
figlet -c {{ (inventory_hostname|split('.'))[0] }} -f slant figlet -c {{ (inventory_hostname|split('.'))[0] }} -f slant
@ -32,7 +32,4 @@
ansible.builtin.service: ansible.builtin.service:
name: ssh.service name: ssh.service
state: restarted state: restarted
become: true become: true

View File

@ -1,19 +0,0 @@
- block:
- name: Get keys
ansible.builtin.shell: curl -s https://packages.wazuh.com/key/GPG-KEY-WAZUH | gpg --no-default-keyring --keyring gnupg-ring:/usr/share/keyrings/wazuh.gpg --import && chmod 644 /usr/share/keyrings/wazuh.gpg
- name: Add repo
ansible.builtin.shell: echo "deb [signed-by=/usr/share/keyrings/wazuh.gpg] https://packages.wazuh.com/4.x/apt/ stable main" | tee -a /etc/apt/sources.list.d/wazuh.list
- name: Install docker
ansible.builtin.apt:
update_cache: true
- name: Add repo
ansible.builtin.shell: WAZUH_MANAGER="192.168.77.101" apt-get install wazuh-agent
- name: Restart wazuh service
ansible.builtin.service:
name: wazuh-agent
state: restarted
enabled: true
become: true

View File

@ -1 +0,0 @@
ZABBIX_SERVER: "zabbix.home.lan"

View File

@ -1,23 +1,13 @@
--- ---
- hosts: servers - hosts: servers
roles: roles:
- name: common - common
tags: common - wake_on_lan
- name: wake_on_lan - matter-server
tags: wake_on_lan - docker
- name: matter-server - timeshift
tags: matter-server - monitoring
- name: docker - zabbix-agent
tags: docker - autofs_client
- name: timeshift - ldap_client
tags: timeshift - ssh_banner
- name: monitoring
tags: monitoring
- name: zabbix-agent
tags: zabbix-agent
- name: autofs_client
tags: autofs_client
- name: ldap_client
tags: ldap_client
- name: ssh_banner
tags: ssh_banner

View File

@ -1,4 +1,4 @@
--- ---
- hosts: datacenter - hosts: datacenter
roles: roles:
- wazuh-agent - omv_backup