Commit 36a0986b by ansible

no message

1 parent a643ec99
Showing with 0 additions and 23 deletions
...@@ -11,25 +11,3 @@ ...@@ -11,25 +11,3 @@
- { device: "{{ app_disk }}", number: "2", start: "41%", end: "80%" } - { device: "{{ app_disk }}", number: "2", start: "41%", end: "80%" }
- { device: "{{ app_disk }}", number: "3", start: "81%", end: "90%" } - { device: "{{ app_disk }}", number: "3", start: "81%", end: "90%" }
- { device: "{{ app_disk }}", number: "4", start: "91%", end: "100%" } - { device: "{{ app_disk }}", number: "4", start: "91%", end: "100%" }
- name: "Format disk: \"{{ item.device }}\" using etx4"
filesystem:
dev: "{{ item.device }}"
fstype: ext4
with_items:
- { device: "{{ app_disk }}"1 }
- { device: "{{ app_disk }}"2 }
- { device: "{{ app_disk }}"3 }
- { device: "{{ app_disk }}"4 }
- name: "Mount up \"{{ item.device }}\" to \"{{ item.path }}\""
mount:
state: mounted
fstype: ext4
src: "{{ item.device }}"
path: "{{ item.path }}"
with_items:
- { device: "{{ app_disk }}"1, path: /opt }
- { device: "{{ app_disk }}"2, path: /upload }
- { device: "{{ app_disk }}"3, path: /archive }
- { device: "{{ app_disk }}"4, path: /data }
\ No newline at end of file
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!