Skip to content

Commit

Permalink
Merge pull request #35 from tulibraries/values-to-json
Browse files Browse the repository at this point in the history
Add to_json filter to Airflow variables
  • Loading branch information
Chad Nelson authored May 28, 2020
2 parents 1f8350d + a2289d2 commit bb2bbb6
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 bb2bbb6

Please sign in to comment.