added the a preparing ansible playbooks for automating new servers

This commit is contained in:
rezayaghobi-dev
2026-08-23 22:11:09 +03:30
parent e8422c0006
commit aedfdbddb7
73 changed files with 2971 additions and 44 deletions

View File

@@ -0,0 +1,40 @@
---
- name: install package
import_tasks: packages.yaml
tags: install_packages
- name: change limit.conf
import_tasks: limits.yml
tags: tuning
- name: configure sshd, iptabels and ...
import_tasks: hardening.yaml
tags: hardening, firewall
- name: host file configure
import_tasks: hosts.yml
tags: hardening
- name: audit log configure
import_tasks: auditd.yml
tags: hardening
- name: fstab config
import_tasks: fstab.yml
tags: hardening
- name: change resolved.conf
import_tasks: resolvedconf.yml
tags: hardening
- name: change journal.conf
import_tasks: journalconf.yml
tags: hardening
- name: change sysctl.conf
import_tasks: tuning.yaml
tags: tuning
- name: download and config lynis scripts
import_tasks: lynis.yaml
tags: audit