ansible/roles/common/tasks/samba.yml

22 lines
427 B
YAML
Raw Permalink Normal View History

2023-09-25 08:40:20 +00:00
# 2023-09-25
# Tasks: samba
---
- ansible.builtin.include_vars: vault/samba.yml
- ansible.builtin.include_vars: samba.yml
- name: Process smb.conf template
ansible.builtin.template:
backup: true
src: "{{ smb_conf_template }}"
dest: "{{ smb_conf_distribution }}"
owner: root
group: root
mode: u=rw,g=r,o=r
when:
- ansible_facts['system'] == "Linux"
tags:
- template
- samba
- add