04.08.25
This commit is contained in:
21
install-docker-compose-and-ufw-playbook.yaml
Normal file
21
install-docker-compose-and-ufw-playbook.yaml
Normal 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
|
||||
Reference in New Issue
Block a user