Compare commits

...

3 commits

Author SHA1 Message Date
Kevin Heyer
1b1042fe03 change Playbook Name 2025-06-15 08:04:52 +02:00
Kevin Heyer
2c7813e19f add syslog installation role and change Playbook Name 2025-06-15 08:04:47 +02:00
Kevin Heyer
b5d035e6f1 add syslog installation role 2025-06-15 08:03:43 +02:00
15 changed files with 51 additions and 16 deletions

View file

@ -1,5 +1,5 @@
--- ---
- name: Install and start Apache web server - name: Configure all servers
hosts: all hosts: all
roles: roles:
- server_install_ssh - server_install_ssh

View file

@ -1,6 +1,7 @@
--- ---
- name: Install and start Apache web server - name: Configure calibre
hosts: calibre hosts: calibre
roles: roles:
- server_install_ssh - server_install_ssh
- server_install_fail2ban - server_install_fail2ban
- server_install_syslog

View file

@ -1,12 +1,21 @@
--- ---
- name: Install and start Apache web server - name: Configure docker1
hosts: docker1 hosts: docker1
roles: roles:
- role: server_install_ssh - role: server_install_ssh
tags: ssh tags:
- ssh
- system
- role: server_install_fail2ban - role: server_install_fail2ban
tags: fail2ban tags:
- fail2ban
- system
- role: server_install_syslog
tags:
- syslog
- system
- role: deploy_container_traefik - role: deploy_container_traefik
tags: tags:

View file

@ -1,6 +1,7 @@
--- ---
- name: Install and start Apache web server - name: Configure Gaming Server
hosts: minecraft hosts: minecraft
roles: roles:
- server_install_ssh - server_install_ssh
- server_install_fail2ban - server_install_fail2ban
- server_install_syslog

View file

@ -1,6 +1,7 @@
--- ---
- name: Install and start Apache web server - name: Configure pihole
hosts: pihole hosts: pihole
roles: roles:
- server_install_ssh - server_install_ssh
- server_install_fail2ban - server_install_fail2ban
- server_install_syslog

View file

@ -1,5 +1,5 @@
--- ---
- name: Install and start Apache web server - name: Configure pve1
hosts: pve1 hosts: pve1
roles: roles:
- server_install_ssh - server_install_ssh

View file

@ -1,5 +1,5 @@
--- ---
- name: Install and start Apache web server - name: Configure pve2
hosts: pve2 hosts: pve2
roles: roles:
- server_install_ssh - server_install_ssh

View file

@ -1,5 +1,5 @@
--- ---
- name: Install and start Apache web server - name: Configure pve3
hosts: pve3 hosts: pve3
roles: roles:
- server_install_ssh - server_install_ssh

View file

@ -0,0 +1,6 @@
---
- name: Start and enable rsyslog
ansible.builtin.service:
name: rsyslog
state: started
enabled: true

View file

@ -0,0 +1,17 @@
---
- name: Update apt package index
ansible.builtin.apt:
update_cache: true
cache_valid_time: 3600
- name: Install rsyslog
ansible.builtin.apt:
name: rsyslog
state: present
notify: Start and enable rsyslog
- name: Enable rsyslog
ansible.builtin.service:
name: rsyslog
state: started
enabled: true