1
0

Compare commits

...

2 Commits

Author SHA1 Message Date
0a49861be6 add vault 2022-09-03 02:04:33 +12:00
c89c678ea0 add vault 2022-09-03 02:04:28 +12:00
5 changed files with 17 additions and 2 deletions

1
.gitignore vendored
View File

@ -1 +1,2 @@
ansible/vault_password
ansible/inventory/group_vars/vault.yml

View File

@ -4,6 +4,7 @@
ansible_user: ladmin
ansible_become_user: root
ansible_become_pass: "{{ lab_become_password }}"
ansible_os_family: Arch
# sshd

View File

@ -7,3 +7,4 @@
roles:
- python
- sshd
- firewall

View File

@ -0,0 +1,2 @@
---
firewall_package: ufw

View File

@ -0,0 +1,10 @@
---
- name: install ufw arch
become: true
community.general.pacman:
name: "{{ firewall_package }}"
state: latest
update_cache: true
reason: explicit
when:
- ansible_os_family == 'Arch'