feat/major-revamp #11
@ -1,10 +1,19 @@
|
|||||||
---
|
---
|
||||||
# hashistack prepare playbook
|
# hashistack prepare playbook
|
||||||
- name: "Bootstrap"
|
- name: "Bootstrap"
|
||||||
hosts: all
|
hosts: all, !deployment
|
||||||
gather_facts: true
|
gather_facts: true
|
||||||
become: true
|
become: true
|
||||||
tasks:
|
tasks:
|
||||||
|
- name: "Isntall unzip with package manager"
|
||||||
|
ansible.builtin.include_role:
|
||||||
|
name: ednz_cloud.manage_apt_packages
|
||||||
|
vars:
|
||||||
|
manage_apt_packages_list:
|
||||||
|
- name: unzip
|
||||||
|
version: latest
|
||||||
|
state: present
|
||||||
|
|
||||||
- name: "Install hvac library with pip"
|
- name: "Install hvac library with pip"
|
||||||
ansible.builtin.include_role:
|
ansible.builtin.include_role:
|
||||||
name: ednz_cloud.manage_pip_packages
|
name: ednz_cloud.manage_pip_packages
|
||||||
@ -39,7 +48,7 @@
|
|||||||
install_docker_users:
|
install_docker_users:
|
||||||
- "{{ ansible_user }}"
|
- "{{ ansible_user }}"
|
||||||
install_docker_daemon_options: {}
|
install_docker_daemon_options: {}
|
||||||
#! when: "'nomad_agents' in group_names"
|
when: "'nomad_agents' in group_names"
|
||||||
|
|
||||||
- name: "Ensure /etc/localtime exists"
|
- name: "Ensure /etc/localtime exists"
|
||||||
ansible.builtin.file:
|
ansible.builtin.file:
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
# hashistack deployment playbook
|
# hashistack deployment playbook
|
||||||
- name: "Deploy"
|
- name: "Deploy"
|
||||||
hosts: all
|
hosts: all, !deployment
|
||||||
strategy: linear
|
strategy: linear
|
||||||
gather_facts: true
|
gather_facts: true
|
||||||
become: true
|
become: true
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
# hashistack generate certificates playbook
|
# hashistack generate certificates playbook
|
||||||
- name: "Generate certificates"
|
- name: "Generate certificates"
|
||||||
hosts: all
|
hosts: all, !deployment
|
||||||
strategy: linear
|
strategy: linear
|
||||||
gather_facts: true
|
gather_facts: true
|
||||||
become: true
|
become: true
|
||||||
|
Loading…
Reference in New Issue
Block a user