From c37cba980b1cd2858d9414eb364bf3ef79eaee2f Mon Sep 17 00:00:00 2001 From: Markus Brecchtel Date: Tue, 29 Nov 2016 16:36:56 +0000 Subject: [PATCH] current state from 2015-11-29 --- .gitignore | 1 + tasks/main.yml | 20 ++++++++++++++++++++ 2 files changed, 21 insertions(+) create mode 100644 .gitignore create mode 100644 tasks/main.yml diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..b25c15b --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +*~ diff --git a/tasks/main.yml b/tasks/main.yml new file mode 100644 index 0000000..bfc4527 --- /dev/null +++ b/tasks/main.yml @@ -0,0 +1,20 @@ +--- + +- name: filesystems + filesystem: + fstype: "{{ item.fstype }}" + dev: "{{ item.device }}" + force: yes + with_items: "{{ filesystems }}" + +- name: mount filesystems + mount: + name: "{{ mount_directory_target }}/{{ item.mount_point }}" + src: "{{ item.device }}" + fstype: "{{ item.fstype }}" + state: mounted + with_items: "{{ filesystems }}" + +- name: sync + command: sync + \ No newline at end of file