Commit a97cd4b9 by ansible

Change Group Name (inventory) by adding step number in front of group name

1 parent a73134ba
--- ---
- hosts: install-ansible - hosts: 01_install-ansible
become: true become: true
tasks: tasks:
- name: New Ansbile Group - name: New Ansbile Group
......
--- ---
- hosts: new-host - hosts: 03_new-host
become: true become: true
tasks: tasks:
- name: Create WDCHAT Directory Structure - name: Create WDCHAT Directory Structure
......
--- ---
- hosts: vdc-disk - hosts: 02_vdc-disk
become: true become: true
tasks: tasks:
- name: "Format disk: \"{{ item.device }}\" using etx4" - name: "Format disk: \"{{ item.device }}\" using etx4"
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
- { device: /dev/vdc2 } - { device: /dev/vdc2 }
- { device: /dev/vdc3 } - { device: /dev/vdc3 }
- { device: /dev/vdc4 } - { device: /dev/vdc4 }
- hosts: sdb-disk - hosts: 02_sdb-disk
become: true become: true
tasks: tasks:
- name: "Format disk: \"{{ item.device }}\" using etx4" - name: "Format disk: \"{{ item.device }}\" using etx4"
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
- { device: /dev/sdb3 } - { device: /dev/sdb3 }
- { device: /dev/sdb4 } - { device: /dev/sdb4 }
- hosts: vdb-disk - hosts: 02_vdb-disk
become: true become: true
tasks: tasks:
- name: "Format disk: \"{{ item.device }}\" using etx4" - name: "Format disk: \"{{ item.device }}\" using etx4"
......
--- ---
- hosts: new-host - hosts: 03_new-host
become: true become: true
tasks: tasks:
- name: Hardening Ubuntu OS Disable IPv6 - name: Hardening Ubuntu OS Disable IPv6
......
--- ---
- hosts: vdc-disk - hosts: 03_vdc-disk
become: true become: true
tasks: tasks:
- name: "Mount up \"{{ item.device }}\" to \"{{ item.path }}\"" - name: "Mount up \"{{ item.device }}\" to \"{{ item.path }}\""
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
- { device: /dev/vdc2, path: /upload } - { device: /dev/vdc2, path: /upload }
- { device: /dev/vdc3, path: /archive } - { device: /dev/vdc3, path: /archive }
- { device: /dev/vdc4, path: /data } - { device: /dev/vdc4, path: /data }
- hosts: sdb-disk - hosts: 03_sdb-disk
become: true become: true
tasks: tasks:
- name: "Mount up \"{{ item.device }}\" to \"{{ item.path }}\"" - name: "Mount up \"{{ item.device }}\" to \"{{ item.path }}\""
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
- { device: /dev/sdb3, path: /archive } - { device: /dev/sdb3, path: /archive }
- { device: /dev/sdb4, path: /data } - { device: /dev/sdb4, path: /data }
- hosts: vdb-disk - hosts: 03_vdb-disk
become: true become: true
tasks: tasks:
- name: "Mount up \"{{ item.device }}\" to \"{{ item.path }}\"" - name: "Mount up \"{{ item.device }}\" to \"{{ item.path }}\""
......
--- ---
- hosts: vdc-disk - hosts: 03_vdc-disk
become: true become: true
tasks: tasks:
- name: Create partiton - name: Create partiton
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
- { device: "/dev/vdc", number: "3", start: "81%", end: "90%" } - { device: "/dev/vdc", number: "3", start: "81%", end: "90%" }
- { device: "/dev/vdc", number: "4", start: "91%", end: "100%" } - { device: "/dev/vdc", number: "4", start: "91%", end: "100%" }
- hosts: sdb-disk - hosts: 03_sdb-disk
become: true become: true
tasks: tasks:
- name: Create partiton - name: Create partiton
...@@ -33,7 +33,7 @@ ...@@ -33,7 +33,7 @@
- { device: "/dev/sdb", number: "3", start: "81%", end: "90%" } - { device: "/dev/sdb", number: "3", start: "81%", end: "90%" }
- { device: "/dev/sdb", number: "4", start: "91%", end: "100%" } - { device: "/dev/sdb", number: "4", start: "91%", end: "100%" }
- hosts: vdb-disk - hosts: 03_vdb-disk
become: true become: true
tasks: tasks:
- name: Create partiton - name: Create partiton
......
--- ---
- hosts: new-host - hosts: 03_new-host
become: true become: true
tasks: tasks:
- name: Run the equivalent of "apt-get update" as a separate step - name: Run the equivalent of "apt-get update" as a separate step
......
--- ---
- hosts: new-host - hosts: 03_new-host
become: true become: true
tasks: tasks:
- name: Create Groups - name: Create Groups
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!