finalize compatibility debian autoFS syncthing

This commit is contained in:
vincent 2019-11-24 14:46:38 +01:00
parent f21838a91b
commit 4444a9c737
3 changed files with 13 additions and 2 deletions

View File

@ -4,7 +4,8 @@
# systemd uses - for dir separator, so dirs with dashes need escaped according to systemd-escape rules # 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 - name: Make sure destination dir exists
file: file:
@ -41,7 +42,7 @@
- name: SYSTEMD MOUNT | Install needed packages - name: SYSTEMD MOUNT | Install needed packages
package: package:
name: "{{ item }}" name: "{{ item }}"
state: installed state: present
with_items: "{{ systemd_mount_packages }}" with_items: "{{ systemd_mount_packages }}"
become: yes become: yes

5
vars/Archlinux.yml Normal file
View File

@ -0,0 +1,5 @@
---
systemd_mount_packages:
- cifs-utils
- nfs-utils
- davfs2

5
vars/Debian.yml Normal file
View File

@ -0,0 +1,5 @@
---
systemd_mount_packages:
- cifs-utils
- nfs-common
- davfs2