Commit 41d4f5ed by ansible

no message

1 parent ee45df69
......@@ -8,3 +8,6 @@
- file:
path: /tmp/configuration
state: absent
- file:
path: /tmp/application
state: absent
\ No newline at end of file
---
- hosts: new_host
- hosts: new-host
become: true
tasks:
- name: Create WDCHAT Directory Structure
......@@ -9,8 +9,9 @@
group: "{{ item.owner }}"
state: directory
with_items:
- { owner: root, path: /opt/stack }
- { owner: root, path: /opt/stack/dma/conf }
- { owner: root, path: /home/chroot/wdftp }
- { owner: root, path: /data }
- { owner: wildfly, path: /upload }
- { owner: wildfly, path: /archive }
- { owner: wildfly, path: /dmaimg }
......
---
- hosts: new_host
- hosts: new-host
become: true
tasks:
- name: "Format disk: \"{{ item.device }}\" using etx4"
......@@ -10,4 +10,5 @@
- { device: /dev/vdc1 }
- { device: /dev/vdc2 }
- { device: /dev/vdc3 }
- { device: /dev/vdc4 }
---
- hosts: new_host
- hosts: new-host
become: true
tasks:
- name: "Mount up \"{{ item.device }}\" to \"{{ item.path }}\""
......@@ -12,4 +12,5 @@
- { device: /dev/vdc1, path: /opt }
- { device: /dev/vdc2, path: /upload }
- { device: /dev/vdc3, path: /archive }
- { device: /dev/vdc4, path: /data }
---
- hosts: new_host
- hosts: new-host
become: true
tasks:
- name: Create partiton
......@@ -11,6 +11,7 @@
state: present
# part_type: logical
with_items:
- { device: "/dev/vdc", number: "1", start: "0%", end: "50GiB" }
- { device: "/dev/vdc", number: "2", start: "51GiB", end: "100GiB" }
- { device: "/dev/vdc", number: "3", start: "101GiB", end: "100%" }
- { device: "/dev/vdc", number: "1", start: "0", end: "100GiB" }
- { device: "/dev/vdc", number: "2", start: "101GiB", end: "200GiB" }
- { device: "/dev/vdc", number: "3", start: "201GiB", end: "250GiB" }
- { device: "/dev/vdc", number: "4", start: "251GiB", end: "100%" }
---
- hosts: new_host
- hosts: new-host
become: true
tasks:
- name: Run the equivalent of "apt-get update" as a separate step
......
---
- hosts: all
- hosts: install-wdchat-dma
become: true
tasks:
- copy:
......
---
- hosts: all
- hosts: install-wdchat-dma
become: true
tasks:
- copy:
......
---
- hosts: all
- hosts: install-wdchat-dma
become: true
tasks:
- copy:
......
---
- hosts: new_host
- hosts: new-host
become: true
tasks:
- name: Create Groups
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!