Compare commits

..

No commits in common. "fa1dc4acb7a2ffcdb0a49a4bd3d1a28ed7ed724a" and "74a559f1f6716732bfe4fb197372e1d63b9620cc" have entirely different histories.

6 changed files with 4 additions and 17 deletions

5
.gitignore vendored
View File

@ -1,4 +1,3 @@
.playbook
.vagrant
.vscode
/environments/
.playbook
/environments/

View File

@ -1,7 +1,6 @@
allow_reboot: true
manage_firewall: true
manage_network: false
network_type: static
allow_reboot: true
packages:
- apache2-utils

View File

@ -9,7 +9,6 @@
- name: Import Firewall tasks
ansible.builtin.import_tasks: firewall.yml
tags: firewall
when: manage_firewall
- name: Import Network tasks
ansible.builtin.import_tasks: network.yml

View File

@ -50,4 +50,3 @@
from: "{{ item }}"
state: enabled
loop: "{{ samba.firewall }}"
when: manage_firewall

View File

@ -35,5 +35,5 @@
community.general.ufw:
rule: allow
port: "{{ wireguard.listenport }}"
proto: udp
proto: tcp
when: wireguard.listenport is defined

View File

@ -13,16 +13,7 @@
[{{ share.name }}]
path = {{ share.path }}
browsable = yes
{% if share.guest_allow is defined and share.guest_allow %}
guest ok = yes
{% else %}
guest ok = no
{% endif %}
read only = {{ 'yes' if share.read_only | default(false) else 'no' }}
{% if share.valid_users is defined %}
valid users = {{ share.valid_users }}
{% endif %}
{% if share.force_user is defined %}
force user = {{ share.force_user }}
{% endif %}
{% endfor %}