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 committed Apr 3, 2023
1 parent 2288df1 commit 77158ec
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
command: 'reprepro --ignore=undefinedtarget export'
command: 'reprepro --ignore=undefinedtarget --ignore=undefinedtracking export'
args:
chdir: '{{ reprepro__data_root + "/" + repo.name }}'
become: True
Expand All @@ -85,7 +85,7 @@
(reprepro__register_config is changed or reprepro__register_uploaders is changed))

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

0 comments on commit 77158ec

Please sign in to comment.