Compare commits

...

2 Commits

Author SHA1 Message Date
8bf82336f8
fix: more deployment host exclusion
All checks were successful
development / Check commit compliance (push) Successful in 6s
2024-07-11 23:29:17 +02:00
01d91eae57
fix: exclude deployment host from all playbooks where it does not need to be included (and can cause issues) 2024-07-11 23:28:44 +02:00
4 changed files with 14 additions and 5 deletions

View File

@ -1,10 +1,19 @@
---
# hashistack prepare playbook
- name: "Bootstrap"
hosts: all
hosts: all, !deployment
gather_facts: true
become: true
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"
ansible.builtin.include_role:
name: ednz_cloud.manage_pip_packages
@ -39,7 +48,7 @@
install_docker_users:
- "{{ ansible_user }}"
install_docker_daemon_options: {}
#! when: "'nomad_agents' in group_names"
when: "'nomad_agents' in group_names"
- name: "Ensure /etc/localtime exists"
ansible.builtin.file:

View File

@ -1,7 +1,7 @@
---
# hashistack deployment playbook
- name: "Deploy"
hosts: all
hosts: all, !deployment
strategy: linear
gather_facts: true
become: true

View File

@ -1,7 +1,7 @@
---
# hashistack generate certificates playbook
- name: "Generate certificates"
hosts: all
hosts: all, !deployment
strategy: linear
gather_facts: true
become: true

View File

@ -1,7 +1,7 @@
---
# hashistack deployment playbook
- name: "Preflight"
hosts: all
hosts: all, !deployment
strategy: linear
gather_facts: true
become: true