Skip to content
Snippets Groups Projects
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
prepare.yml 383 B
---
- name: Prepare
  hosts: all
  gather_facts: false
  tasks:
    - name: create /etc/samba directory
      file:
        path: /etc/samba
        state: directory
        owner: root
        group: root
        mode: 0755
    - name: create smb.cnf file
      file:
        path: /etc/samba/smb.conf
        state: touch
        owner: root
        group: root
        mode: 0644