Skip to content

Commit

Permalink
tt-rss: update schema file location
Browse files Browse the repository at this point in the history
  • Loading branch information
nodiscc committed Apr 1, 2021
1 parent 398c362 commit 3fdcf82
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions roles/tt_rss/tasks/tt-rss.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@
# workaround for postgresql_query module bug https://github.com/ansible-collections/community.postgresql/issues/50
- name: remove comments from SQL schema file
lineinfile:
path: "{{ tt_rss_install_dir }}/schema/ttrss_schema_pgsql.sql"
path: "{{ tt_rss_install_dir }}/sql/pgsql/schema.sql"
state: absent
regexp: '^--.*'
when: (ansible_local.tt_rss.general.db_imported is not defined) or (not ansible_local.tt_rss.general.db_imported)
Expand All @@ -106,7 +106,7 @@
login_user: "{{ tt_rss_db_user }}"
login_password: "{{ tt_rss_db_password }}"
db: "{{ tt_rss_db_name }}"
path_to_script: "{{ tt_rss_install_dir }}/schema/ttrss_schema_pgsql.sql"
path_to_script: "{{ tt_rss_install_dir }}/sql/pgsql/ttrss_schema_pgsql.sql"
when: (ansible_local.tt_rss.general.db_imported is not defined) or (not ansible_local.tt_rss.general.db_imported)

- name: update tt-rss admin account in postgresql database (always returns changed)
Expand Down

0 comments on commit 3fdcf82

Please sign in to comment.