cellinfo
/
ansible.nfs
Archived
2
0
Fork 0
This repository has been archived on 2020-11-04. You can view files and clone it, but cannot push or open issues or pull requests.
ansible.nfs/tasks/main.yml

31 lines
663 B
YAML
Raw Normal View History

2017-07-20 11:44:10 +02:00
---
# tasks file for nfs
2017-07-20 11:57:55 +02:00
- name: Load specific OS vars for nfs
include_vars: "{{ item }}"
with_first_found:
- "{{ ansible_distribution|lower }}-{{ ansible_distribution_version }}.yml"
- "{{ ansible_distribution|lower }}.yml"
- "{{ ansible_os_family|lower }}.yml"
# client {{{
- name: client package
package:
name: '{{ item }}'
state: '{{ nfs_cli_pkg_state }}'
with_items:
- '{{ nfs_cli_pkg_list }}'
2017-07-20 15:55:21 +02:00
when: nfs_cli_manage
- name: CONFIG nfs-client
template:
src: '{{ nfs_cli_conf_tpl }}'
dest: '{{ nfs_cli_conf_path }}'
owner: root
group: root
mode: 0644
backup: true
when: nfs_cli_manage
2017-07-20 11:57:55 +02:00
# }}}