add cifsmount role

This commit is contained in:
aaron
2021-08-24 13:18:59 +02:00
parent fe73f4f03d
commit 87808eb999
11 changed files with 222 additions and 0 deletions

19
tasks/main.yaml Normal file
View File

@@ -0,0 +1,19 @@
---
- name: load variables based on distribution type
include_vars: '{{ item }}'
with_first_found:
- '{{ ansible_distribution }}_{{ ansible_distribution_major_version }}.yaml'
- '{{ ansible_os_family }}.yaml'
tags:
- 'cifs_vars'
- name: install cifs and dependencies
import_tasks: installation.yaml
tags:
- 'cifs_installation'
- name: push cifs config
import_tasks: configuration.yaml
tags:
- 'cifs_configuration'