You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
hetzner-ansible/setup-infrastructure-realm.yml

26 lines
646 B
YAML

---
- name: 'apply setup to {{ host | default("infrastructure_realm") }}'
hosts: '{{ host | default("infrastructure_realm") }}'
serial: "{{ serial_number | default(5) }}"
strategy: free
vars:
ansible_ssh_host: "{{ stage_server_domain }}"
become: yes
pre_tasks:
- name: "Import constraints check"
import_tasks: tasks/constraints_check.yml
tags:
- always
- name: "Import autodiscover pre-tasks"
import_tasks: tasks/autodiscover_pre_tasks.yml
become: false
tags:
- always
roles:
- role: infrastructure_realm
when:
- "'infrastructure_realm' in group_names"