ansible/roles/hubs/tasks/db-sqlite.yml

10 lines
299 B
YAML
Raw Normal View History

- name: Create and populate the Fedora Hubs database
2018-02-01 09:33:45 +00:00
command: "python3 {{ hubs_code_dir }}/populate.py"
args:
creates: "{{ hubs_var_dir }}/hubs.db"
chdir: "{{ hubs_code_dir }}"
environment:
2018-02-01 09:33:45 +00:00
HUBS_CONFIG: "{{ hubs_conf_dir }}/hubs.py"
become: true
become_user: "{{ main_user }}"