--- # deploy.yml # # This playbook details how an entire datacenter should be deployed # # Parameters: # threads: Number of threads to use; default is 8. - hosts: all order: sorted serial: "{{ threads | default('8') }}" gather_facts: true ignore_unreachable: true vars_files: - "{{ lookup('env', 'ANSIBLE_VAULT_FILE') }}" vars: roles: - basics - networking - SSH - Sharingan-Data - hosts: DarkNet order: sorted serial: "{{ threads | default('8') }}" gather_facts: true ignore_unreachable: true vars_files: - "{{ lookup('env', 'ANSIBLE_VAULT_FILE') }}" vars: roles: - DarkNet - SSH - hosts: Core order: sorted serial: "{{ threads | default('8') }}" gather_facts: true ignore_unreachable: true vars_files: - "{{ lookup('env', 'ANSIBLE_VAULT_FILE') }}" vars: roles: - SSL - Yggdrasil - WebServer - Foundation - IRC - Sharingan-IDS - hosts: Maat order: sorted serial: "{{ threads | default('8') }}" gather_facts: true ignore_unreachable: true vars_files: - "{{ lookup('env', 'ANSIBLE_VAULT_FILE') }}" vars: roles: - Maat - hosts: Sharingan order: sorted serial: "{{ threads | default('8') }}" gather_facts: true ignore_unreachable: true vars_files: - "{{ lookup('env', 'ANSIBLE_VAULT_FILE') }}" vars: roles: - Sharingan - hosts: MaatBuilder order: sorted serial: "{{ threads | default('8') }}" gather_facts: true ignore_unreachable: true vars_files: - "{{ lookup('env', 'ANSIBLE_VAULT_FILE') }}" vars: roles: - MaatBuilder - hosts: Nazara order: sorted serial: "{{ threads | default('8') }}" gather_facts: true ignore_unreachable: true vars_files: - "{{ lookup('env', 'ANSIBLE_VAULT_FILE') }}" vars: roles: - MaatBuilder