Skip to content

Commit

Permalink
Add to_json filter to Airflow variables
Browse files Browse the repository at this point in the history
  • Loading branch information
sensei100 committed May 28, 2020
1 parent 1f8350d commit a2289d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasks/manage_airflow_variables.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@

- name: 'CONFIG | VARIABLES | Add variables'
command: >
{{ airflow_virtualenv }}/bin/airflow variables --set {{ item.key }} "{{ item.value }}"
{{ airflow_virtualenv }}/bin/airflow variables --set {{ item.key }} {{ item.value | to_json }}
no_log: True
changed_when: merged_variables
run_once: true
Expand Down

0 comments on commit a2289d2

Please sign in to comment.