Browse Source

current state from 2015-11-29

master
Markus Brecchtel 8 years ago
commit
c37cba980b
2 changed files with 21 additions and 0 deletions
  1. +1
    -0
      .gitignore
  2. +20
    -0
      tasks/main.yml

+ 1
- 0
.gitignore View File

@@ -0,0 +1 @@
*~

+ 20
- 0
tasks/main.yml View File

@@ -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

Loading…
Cancel
Save