Skip to content

Commit

Permalink
replace shortcode with full subcommand name.
Browse files Browse the repository at this point in the history
Airflow does not support `-s` and `-a` anymore.
  • Loading branch information
diraol committed Jun 10, 2023
1 parent 9d143a6 commit aad1580
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tasks/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@
tags: airflow-extra-config

- name: Airflow | Add variables from configuration file
command: "{{ airflow_executable }} variables -s {{ item.key }} {{ item.value }}"
command: "{{ airflow_executable }} variables set {{ item.key }} {{ item.value }}"
become: true
become_user: "{{ airflow_user }}"
with_items: "{{ airflow_admin_variables }}"
Expand All @@ -120,7 +120,7 @@
- airflow-extra-vars-file

- name: Airflow | Add connections from configuration file
command: "{{ airflow_executable }} connections -a \
command: "{{ airflow_executable }} connections add \
{% for key, value in item.iteritems() %}--{{ key }} '{{ value }}' \
{% endfor %}"
become: true
Expand Down

0 comments on commit aad1580

Please sign in to comment.