Compare commits
2 commits
30cd1289c0
...
c2b15b5eaa
Author | SHA1 | Date | |
---|---|---|---|
c2b15b5eaa | |||
f8cbb9b783 |
13 changed files with 17 additions and 1 deletions
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
venv/
|
0
ansible/roles/auditd/files/custom.rules
Executable file → Normal file
0
ansible/roles/auditd/files/custom.rules
Executable file → Normal file
0
ansible/roles/auditd/handlers/main.yml
Executable file → Normal file
0
ansible/roles/auditd/handlers/main.yml
Executable file → Normal file
0
ansible/roles/auditd/tasks/main.yml
Executable file → Normal file
0
ansible/roles/auditd/tasks/main.yml
Executable file → Normal file
0
ansible/roles/fail2ban/handlers/main.yml
Executable file → Normal file
0
ansible/roles/fail2ban/handlers/main.yml
Executable file → Normal file
0
ansible/roles/fail2ban/tasks/main.yml
Executable file → Normal file
0
ansible/roles/fail2ban/tasks/main.yml
Executable file → Normal file
0
ansible/roles/fail2ban/templates/sshd.conf.j2
Executable file → Normal file
0
ansible/roles/fail2ban/templates/sshd.conf.j2
Executable file → Normal file
0
ansible/roles/journald/files/retention-time.conf
Executable file → Normal file
0
ansible/roles/journald/files/retention-time.conf
Executable file → Normal file
0
ansible/roles/journald/handlers/main.yml
Executable file → Normal file
0
ansible/roles/journald/handlers/main.yml
Executable file → Normal file
0
ansible/roles/journald/tasks/main.yml
Executable file → Normal file
0
ansible/roles/journald/tasks/main.yml
Executable file → Normal file
|
@ -15,7 +15,6 @@
|
||||||
state: present
|
state: present
|
||||||
filename: knot-dns
|
filename: knot-dns
|
||||||
|
|
||||||
|
|
||||||
- name: Install knot
|
- name: Install knot
|
||||||
ansible.builtin.apt:
|
ansible.builtin.apt:
|
||||||
name: knot
|
name: knot
|
||||||
|
|
0
ansible/roles/timesyncd/tasks/main.yml
Executable file → Normal file
0
ansible/roles/timesyncd/tasks/main.yml
Executable file → Normal file
16
ansible/upgrade.yml
Normal file
16
ansible/upgrade.yml
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
---
|
||||||
|
- name: Upgreade
|
||||||
|
hosts: all
|
||||||
|
become: true
|
||||||
|
tasks:
|
||||||
|
- name: Ugrade debian based
|
||||||
|
ansible.builtin.apt:
|
||||||
|
update_cache: true
|
||||||
|
upgrade: true
|
||||||
|
when: ansible_facts['os_family'] == "Debian"
|
||||||
|
|
||||||
|
- name: Upgrade all packages
|
||||||
|
ansible.builtin.dnf:
|
||||||
|
name: "*"
|
||||||
|
state: latest
|
||||||
|
when: ansible_facts['os_family'] == "RedHat"
|
Loading…
Reference in a new issue