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