finalize compatibility debian autoFS syncthing
This commit is contained in:
parent
f21838a91b
commit
4444a9c737
@ -4,7 +4,8 @@
|
||||
# systemd uses - for dir separator, so dirs with dashes need escaped according to systemd-escape rules
|
||||
#
|
||||
|
||||
|
||||
- name: Include OS-specific variables.
|
||||
include_vars: "{{ ansible_os_family }}.yml"
|
||||
|
||||
- name: Make sure destination dir exists
|
||||
file:
|
||||
@ -41,7 +42,7 @@
|
||||
- name: SYSTEMD MOUNT | Install needed packages
|
||||
package:
|
||||
name: "{{ item }}"
|
||||
state: installed
|
||||
state: present
|
||||
with_items: "{{ systemd_mount_packages }}"
|
||||
become: yes
|
||||
|
||||
|
5
vars/Archlinux.yml
Normal file
5
vars/Archlinux.yml
Normal file
@ -0,0 +1,5 @@
|
||||
---
|
||||
systemd_mount_packages:
|
||||
- cifs-utils
|
||||
- nfs-utils
|
||||
- davfs2
|
5
vars/Debian.yml
Normal file
5
vars/Debian.yml
Normal file
@ -0,0 +1,5 @@
|
||||
---
|
||||
systemd_mount_packages:
|
||||
- cifs-utils
|
||||
- nfs-common
|
||||
- davfs2
|
Loading…
Reference in New Issue
Block a user