From 89b7509c418aa97da22982c2615514ac2c2ca828 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gardais=20J=C3=A9r=C3=A9my?= Date: Fri, 21 Jul 2017 15:47:40 +0200 Subject: [PATCH] Update doc and add meta/ dir --- README.md | 6 ++++++ meta/main.yml | 22 ++++++++++++++++++++++ 2 files changed, 28 insertions(+) create mode 100644 meta/main.yml diff --git a/README.md b/README.md index cd5d2e5..e21adc8 100644 --- a/README.md +++ b/README.md @@ -29,6 +29,12 @@ Manage to mount local and remote devices. - hosts: serverXYZ roles: - role: ipr-cnrs.mounts + mounts_list: + - name: /mnt/storage + src: 'nfs-share.domain.org:/mnt/share' + fstype: nfs4 + opts: 'defaults,x-systemd.automount,x-systemd.device-timeout=2,x-systemd.idle-timeout=1min,noatime,noauto' + state: mounted ``` ## Configuration diff --git a/meta/main.yml b/meta/main.yml new file mode 100644 index 0000000..ae923ce --- /dev/null +++ b/meta/main.yml @@ -0,0 +1,22 @@ +galaxy_info: + author: "Jérémy Gardais" + description: "Manage local and remote mounts" + license: WTFPL + company: IPR + issue_tracker_url: https://git.ipr.univ-rennes1.fr/cellinfo/ansible.mounts/issues + min_ansible_version: 2.2 + platforms: + - name: Debian + versions: + - stretch + #- name: opensuse + # versions: + # - all + # - 12.1 + # - 12.2 + # - 12.3 + # - 13.1 + # - 13.2 + galaxy_tags: + - system + - mount