mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
pkgng: CI seems to dislike plus-signs in filenames
This commit is contained in:
parent
68a1332a3f
commit
0eb4c8221c
3 changed files with 13 additions and 4 deletions
|
@ -131,6 +131,15 @@
|
||||||
dest: /tmp/
|
dest: /tmp/
|
||||||
follow: yes
|
follow: yes
|
||||||
|
|
||||||
|
- name: Add plus-sign to package manifest filenames on testhost
|
||||||
|
copy:
|
||||||
|
src: "/tmp/zsh_test_package_manifests/{{ item }}"
|
||||||
|
remote_src: yes
|
||||||
|
dest: "/tmp/zsh_test_package_manifests/+{{ item }}"
|
||||||
|
loop:
|
||||||
|
- COMPACT_MANIFEST
|
||||||
|
- MANIFEST
|
||||||
|
|
||||||
- name: Create out-of-date test package
|
- name: Create out-of-date test package
|
||||||
command: tar -C /tmp/zsh_test_package_manifests -cJf /tmp/zsh-0__test.pkg +COMPACT_MANIFEST +MANIFEST
|
command: tar -C /tmp/zsh_test_package_manifests -cJf /tmp/zsh-0__test.pkg +COMPACT_MANIFEST +MANIFEST
|
||||||
|
|
||||||
|
@ -147,26 +156,26 @@
|
||||||
|
|
||||||
- name: Check for available package upgrade (checkmode)
|
- name: Check for available package upgrade (checkmode)
|
||||||
pkgng:
|
pkgng:
|
||||||
name: freebsd-release-manifests
|
name: zsh
|
||||||
state: latest
|
state: latest
|
||||||
check_mode: yes
|
check_mode: yes
|
||||||
register: pkgng_example4_checkmode
|
register: pkgng_example4_checkmode
|
||||||
|
|
||||||
- name: Upgrade out-of-date package
|
- name: Upgrade out-of-date package
|
||||||
pkgng:
|
pkgng:
|
||||||
name: freebsd-release-manifests
|
name: zsh
|
||||||
state: latest
|
state: latest
|
||||||
register: pkgng_example4
|
register: pkgng_example4
|
||||||
|
|
||||||
- name: Upgrade out-of-date package (idempotent)
|
- name: Upgrade out-of-date package (idempotent)
|
||||||
pkgng:
|
pkgng:
|
||||||
name: freebsd-release-manifests
|
name: zsh
|
||||||
state: latest
|
state: latest
|
||||||
register: pkgng_example4_idempotent
|
register: pkgng_example4_idempotent
|
||||||
|
|
||||||
- name: Remove test out-of-date package
|
- name: Remove test out-of-date package
|
||||||
pkgng:
|
pkgng:
|
||||||
name: freebsd-release-manifests
|
name: zsh
|
||||||
state: absent
|
state: absent
|
||||||
|
|
||||||
- name: Ensure pkgng upgrades package correctly
|
- name: Ensure pkgng upgrades package correctly
|
||||||
|
|
Loading…
Reference in a new issue