---
- name: Deploy Airflow Master
  hosts: airflow_master
  gather_facts: yes
  vars_files:
    - group_vars/all.yml
    - group_vars/all/vault.yml
  pre_tasks:
    - name: Announce master deployment
      debug:
        msg: "Starting deployment for Airflow Master: {{ inventory_hostname }} ({{ ansible_host }})"
  roles:
    - airflow-master
    - ytdlp-master
