This commit is contained in:
2025-08-04 18:24:30 +10:00
commit 9c9e8f09da
22 changed files with 533 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
---
#- hosts: all
# remote_user: Student121
# become: yes
# tasks:
# - name: Copy file with owner and permissions
# ansible.builtin.copy:
# src: /home/ivan/git/homework2
# dest: /home/student121
# owner: student121
# group: student121
# mode: "0644"
- name: Setup server with Docker and firewall
hosts: all
become: true
roles:
- docker
- firewall
- fail2ban
- rsync