瀏覽代碼

current state from 2015-11-29

master
Markus Brecchtel 7 年之前
當前提交
c37cba980b
共有 2 個文件被更改,包括 21 次插入0 次删除
  1. +1
    -0
      .gitignore
  2. +20
    -0
      tasks/main.yml

+ 1
- 0
.gitignore 查看文件

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

+ 20
- 0
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

Loading…
取消
儲存