diff --git a/playbooks/roles/reprepro/files/reprepro-mirror-update.sh b/playbooks/roles/reprepro/files/reprepro-mirror-update similarity index 100% rename from playbooks/roles/reprepro/files/reprepro-mirror-update.sh rename to playbooks/roles/reprepro/files/reprepro-mirror-update diff --git a/playbooks/roles/reprepro/tasks/main.yaml b/playbooks/roles/reprepro/tasks/main.yaml index eda60e17b3..f2b54b4617 100644 --- a/playbooks/roles/reprepro/tasks/main.yaml +++ b/playbooks/roles/reprepro/tasks/main.yaml @@ -46,7 +46,7 @@ - name: Install mirror script copy: - src: reprepro-mirror-update.sh + src: reprepro-mirror-update dest: /usr/local/bin/ owner: root group: root diff --git a/testinfra/test_mirror-update.py b/testinfra/test_mirror-update.py index b7e07062af..84c315e64b 100644 --- a/testinfra/test_mirror-update.py +++ b/testinfra/test_mirror-update.py @@ -85,7 +85,7 @@ def test_repro_general_conf(host): assert f.exists assert f.is_directory - f = host.file('/usr/local/bin/reprepro-mirror-update.sh') + f = host.file('/usr/local/bin/reprepro-mirror-update') assert f.exists f = host.file('/etc/logrotate.d/reprepro')