22 lines
427 B
YAML
22 lines
427 B
YAML
|
# 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
|