mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2025-12-13 21:34:40 +03:00
24 lines
649 B
YAML
24 lines
649 B
YAML
---
|
|
- name: Check ansible version
|
|
import_playbook: ansible_version.yml
|
|
|
|
# These are inventory compatibility tasks with two purposes:
|
|
# - to ensure we keep compatibility with old style group names
|
|
# - to reduce inventory boilerplate (defining parent groups / empty groups)
|
|
|
|
- name: Inventory setup and validation
|
|
hosts: all
|
|
gather_facts: false
|
|
tags: always
|
|
roles:
|
|
- dynamic_groups
|
|
- validate_inventory
|
|
|
|
- name: Install bastion ssh config
|
|
hosts: bastion[0]
|
|
gather_facts: false
|
|
environment: "{{ proxy_disable_env }}"
|
|
roles:
|
|
- { role: kubespray_defaults }
|
|
- { role: bastion-ssh-config, tags: ["localhost", "bastion"] }
|