VPN client gen + Samba mask fix

This commit is contained in:
git
2024-05-04 21:22:46 +02:00
parent b8369d0b28
commit fd05c2250a
9 changed files with 85 additions and 26 deletions

View File

@@ -102,3 +102,16 @@
ansible.builtin.pip:
name: docker
extra_args: "--break-system-packages"
- name: Install a promtail plugin
community.docker.docker_plugin:
plugin_name: grafana/loki-docker-driver:latest
state: present
alias: loki
- name: Enable a promtail plugin
community.docker.docker_plugin:
plugin_name: grafana/loki-docker-driver:latest
state: enable
alias: loki
notify: restart docker

View File

@@ -15,7 +15,7 @@
browseable = yes
writeable = yes
read only = no
create mask = 0700
directory mask = 0700
create mask = 0644
directory mask = 0755
valid users = {{ samba_user }}
notify: smb restart

View File

@@ -5,6 +5,7 @@
name: "{{ primary_group }}"
gid: "{{ gid }}"
state: present
when: gid != 65534
- name: Adding user
ansible.builtin.user:

View File

@@ -1,7 +1,7 @@
- name: pi-hole
community.docker.docker_container:
name: pi-hole
image: pihole/pihole:latest
image: pihole/pihole:2024.03.2
# For DHCP it is recommended to remove these ports and instead add: network_mode: "host"
ports:
- "53:53/tcp"

View File

@@ -10,6 +10,7 @@
# - set_perma_ip.yml
- bashrc_copy.yml
- timezone.yml
- resolvconf_copy.yml
#- name: Set Pernament IP
# ansible.builtin.include_tasks: set_perma_ip.yml

View File

@@ -6,4 +6,4 @@
owner: root
group: root
mode: '0644'
notify: networking restart
notify: networking restart