From 451288fe424da6395ba419bd996324c036dac4f2 Mon Sep 17 00:00:00 2001 From: Bertrand Benjamin Date: Wed, 18 May 2022 11:24:44 +0200 Subject: [PATCH] Feat: init nas with mache --- home.yml | 1 + inventories/home.ini | 2 +- vars/nas.yml | 5 +++++ 3 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 vars/nas.yml diff --git a/home.yml b/home.yml index 187a46a..ed1b85b 100644 --- a/home.yml +++ b/home.yml @@ -4,6 +4,7 @@ vars_files: - vars/users.yml - vars/home.yml + - vars/nas.yml tasks: - name: Update apt: diff --git a/inventories/home.ini b/inventories/home.ini index ada4420..62688a7 100644 --- a/inventories/home.ini +++ b/inventories/home.ini @@ -2,4 +2,4 @@ ChouxBackupVM [nas] -192.168.2.204 +Mache diff --git a/vars/nas.yml b/vars/nas.yml new file mode 100644 index 0000000..09f663e --- /dev/null +++ b/vars/nas.yml @@ -0,0 +1,5 @@ +--- +nfs_exports: + - "/media/docNas/commun *(rw,sync,no_root_squash)" + - "/media/docNas/benjamin *(rw,sync,no_root_squash)" + - "/media/docNas/margot *(rw,sync,no_root_squash)"