Skip to content

Commit

Permalink
[reprepro] Add ignore=undefinedtracking flag
Browse files Browse the repository at this point in the history
  • Loading branch information
gaudenz authored and urscale committed Jun 27, 2024
1 parent 1cc3637 commit d0cf56d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ansible/roles/reprepro/tasks/configure_reprepro.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
when: repo.state | d('present') not in ['absent', 'ignore'] and 'uploaders' in repo.keys()

- name: Initialize reprepro repositories
ansible.builtin.command: 'reprepro --ignore=undefinedtarget export'
ansible.builtin.command: 'reprepro --ignore=undefinedtarget --ignore=undefinedtracking export'
args:
chdir: '{{ reprepro__data_root + "/" + repo.name }}'
become: True
Expand All @@ -87,7 +87,7 @@
(reprepro__register_config is changed or reprepro__register_uploaders is changed))

- name: Generate symlinks
ansible.builtin.command: 'reprepro --ignore=undefinedtarget --delete createsymlinks'
ansible.builtin.command: 'reprepro --ignore=undefinedtarget --ignore=undefinedtracking --delete createsymlinks'
args:
chdir: '{{ reprepro__data_root + "/" + repo.name }}'
become: True
Expand Down

0 comments on commit d0cf56d

Please sign in to comment.