Move single ansible playbook to ansible directory
Make ansible playbook properly- use ansible-galaxy init commands.
This commit is contained in:
16
ansible/arch_ufw/tasks/main.yml
Normal file
16
ansible/arch_ufw/tasks/main.yml
Normal file
@@ -0,0 +1,16 @@
|
||||
---
|
||||
# UFW
|
||||
- name: Ensure UFW installed
|
||||
community.general.pacman:
|
||||
name: ufw
|
||||
state: present
|
||||
become: yes
|
||||
- name: Enable UFW
|
||||
community.general.ufw:
|
||||
state: enabled
|
||||
become: yes
|
||||
- name: Allow SSH
|
||||
community.general.ufw:
|
||||
rule: allow
|
||||
name: ssh
|
||||
become: yes
|
||||
Reference in New Issue
Block a user