--- #- 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 - wireguard