Catching up with current dev
This commit is contained in:
@@ -4,24 +4,50 @@
|
||||
# This playbook details how an entire datacenter should be deployed
|
||||
#
|
||||
# Parameters:
|
||||
# threads: Number of threads to use; default is 8.
|
||||
|
||||
- hosts: managed
|
||||
# threads: Number of threads to use; default is 16.
|
||||
#
|
||||
- hosts: Nazara
|
||||
order: sorted
|
||||
serial: "{{ threads | default('8') }}"
|
||||
serial: "{{ threads | default('16') }}"
|
||||
gather_facts: true
|
||||
ignore_unreachable: true
|
||||
vars_files:
|
||||
- "{{ lookup('env', 'ANSIBLE_VAULT_FILE') }}"
|
||||
vars:
|
||||
- ansible_password: "{{ passwords[inventory_hostname] }}"
|
||||
- ansible_become_password: "{{ passwords[inventory_hostname] }}"
|
||||
roles:
|
||||
- basics
|
||||
- SSH
|
||||
- Sharingan-Data
|
||||
- Nazara
|
||||
|
||||
- hosts: geth-hubs
|
||||
- hosts: managed
|
||||
order: sorted
|
||||
serial: "{{ threads | default('8') }}"
|
||||
serial: "{{ threads | default('16') }}"
|
||||
gather_facts: true
|
||||
ignore_unreachable: true
|
||||
vars_files:
|
||||
- "{{ lookup('env', 'ANSIBLE_VAULT_FILE') }}"
|
||||
vars: # This is the only segment that should need these variables, as the basics role should take care of sudo and the SSH key.
|
||||
- ansible_password: "{{ passwords[inventory_hostname] }}"
|
||||
- ansible_become_password: "{{ passwords[inventory_hostname] }}"
|
||||
roles:
|
||||
- ShadowArch
|
||||
- SSH
|
||||
- Sharingan
|
||||
|
||||
- hosts: Core
|
||||
order: sorted
|
||||
serial: "{{ threads | default('16') }}"
|
||||
gather_facts: true
|
||||
ignore_unreachable: true
|
||||
vars_files:
|
||||
- "{{ lookup('env', 'ANSIBLE_VAULT_FILE') }}"
|
||||
roles:
|
||||
- hardware
|
||||
- SSL
|
||||
|
||||
- hosts: geth_hubs
|
||||
order: sorted
|
||||
serial: "{{ threads | default('16') }}"
|
||||
gather_facts: true
|
||||
ignore_unreachable: true
|
||||
vars_files:
|
||||
@@ -29,16 +55,14 @@
|
||||
roles:
|
||||
- Geth-Hub
|
||||
|
||||
- hosts: Node0
|
||||
order: sorted
|
||||
serial: "{{ threads | default('16') }}"
|
||||
gather_facts: true
|
||||
ignore_unreachable: true
|
||||
vars_files:
|
||||
- "{{ lookup('env', 'ANSIBLE_VAULT_FILE') }}"
|
||||
roles:
|
||||
- hardware
|
||||
- Node
|
||||
|
||||
# - hosts: Core
|
||||
# order: sorted
|
||||
# serial: "{{ threads | default('8') }}"
|
||||
# gather_facts: true
|
||||
# ignore_unreachable: true
|
||||
# vars_files:
|
||||
# - "{{ lookup('env', 'ANSIBLE_VAULT_FILE') }}"
|
||||
# vars:
|
||||
# roles:
|
||||
# - Yggdrasil
|
||||
# - WebServer
|
||||
# - TheRaven
|
||||
|
Reference in New Issue
Block a user