machine_setup/ansible/roles/sftp/tasks/freebsd.yaml

20 lines
344 B
YAML
Raw Normal View History

2024-07-01 03:02:23 +00:00
- name: Create directories
file:
name: "{{ item }}"
state: directory
mode: 0755
owner: root
group: wheel
loop:
- /etc/rc.conf.d
- name: Install service configuration
copy:
src: "files/{{ item }}_rc.conf"
dest: "/etc/rc.conf.d/{{ item }}"
mode: 0644
owner: root
group: wheel
loop:
- sshd