diff --git a/playbooks/wheel/pre.yaml b/playbooks/wheel/pre.yaml index 79af98181b..3a16e45b0a 100644 --- a/playbooks/wheel/pre.yaml +++ b/playbooks/wheel/pre.yaml @@ -2,7 +2,6 @@ roles: - bindep - legacy-install-afs-with-puppet - - legacy-copy-project-config-scripts pre_tasks: # NOTE(pabelanger): Needed by puppet-openafs package. diff --git a/jenkins/scripts/wheel-build.sh b/roles/build-wheels/files/wheel-build.sh similarity index 100% rename from jenkins/scripts/wheel-build.sh rename to roles/build-wheels/files/wheel-build.sh diff --git a/roles/build-wheels/tasks/main.yaml b/roles/build-wheels/tasks/main.yaml index 2504ab0d8e..cee826fad4 100644 --- a/roles/build-wheels/tasks/main.yaml +++ b/roles/build-wheels/tasks/main.yaml @@ -11,10 +11,4 @@ become: yes - name: Build the wheel mirror - shell: - cmd: ./scripts/wheel-build.sh {{ wheel_dir }} {{ wheel_python }} - executable: /bin/bash - # ANSIBLE0013 complains about shell. TODO(jaegerandi): Use command instead, - # for now we just silence the warning. - tags: - - skip_ansible_lint + script: wheel-build.sh {{ wheel_dir }} {{ wheel_python }} diff --git a/jenkins/scripts/wheel-copy.sh b/roles/copy-wheels/files/wheel-copy.sh similarity index 100% rename from jenkins/scripts/wheel-copy.sh rename to roles/copy-wheels/files/wheel-copy.sh diff --git a/jenkins/scripts/wheel-index.sh b/roles/copy-wheels/files/wheel-index.sh similarity index 100% rename from jenkins/scripts/wheel-index.sh rename to roles/copy-wheels/files/wheel-index.sh diff --git a/roles/copy-wheels/tasks/main.yaml b/roles/copy-wheels/tasks/main.yaml index 0d928f5105..cc3dccd24b 100644 --- a/roles/copy-wheels/tasks/main.yaml +++ b/roles/copy-wheels/tasks/main.yaml @@ -1,5 +1,5 @@ - name: Copy the wheels to AFS - command: bash -x scripts/wheel-copy.sh {{ wheel_dir }} {{ afs_dir }} + script: wheel-copy.sh {{ wheel_dir }} {{ afs_dir }} - name: Rebuild mirror index - command: bash -x scripts/wheel-index.sh {{ afs_dir }} + script: wheel-index.sh {{ afs_dir }}