diff --git a/CHANGELOG.md b/CHANGELOG.md index ed047b7..bcef962 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,12 @@ This project adheres to [Semantic Versioning](http://semver.org/) and [Keep a ch ## [Unreleased](https://github.com/idealista/airflow-role/tree/develop) + +## [1.3.2](https://github.com/idealista/airflow-role/tree/1.3.2) +[Full Changelog](https://github.com/idealista/airflow-role/compare/1.3.1...1.3.2) +### Fixed +- *[#28](https://github.com/idealista/airflow-role/issues/28) Fix Init DB task hang* @jnogol + ## [1.3.1](https://github.com/idealista/airflow-role/tree/1.3.1) [Full Changelog](https://github.com/idealista/airflow-role/compare/1.3.0...1.3.1) ### Fixed diff --git a/tasks/config.yml b/tasks/config.yml index 0dd7956..781c9f8 100644 --- a/tasks/config.yml +++ b/tasks/config.yml @@ -35,7 +35,9 @@ - restart airflow-flower - name: Airflow | Initializing DB - shell: AIRFLOW_HOME={{ airflow_home }} /usr/local/bin/airflow initdb + command: /usr/local/bin/airflow initdb + environment: + AIRFLOW_HOME: "{{ airflow_home }}" become: true become_user: "{{ airflow_user }}" tags: