mirror of
https://github.com/ansible-collections/ansible.posix.git
synced 2026-01-11 23:25:28 +01:00
Compare commits
4 commits
ac184a0fc5
...
e20d56fc2a
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e20d56fc2a | ||
|
|
542643e786 | ||
|
|
2cde4cdb26 | ||
|
|
a3bedab1ba |
3 changed files with 5 additions and 11 deletions
|
|
@ -36,7 +36,7 @@ variables:
|
||||||
resources:
|
resources:
|
||||||
containers:
|
containers:
|
||||||
- container: default
|
- container: default
|
||||||
image: quay.io/ansible/azure-pipelines-test-container:3.0.0
|
image: quay.io/ansible/azure-pipelines-test-container:4.0.1
|
||||||
|
|
||||||
pool: Standard
|
pool: Standard
|
||||||
|
|
||||||
|
|
@ -217,8 +217,6 @@ stages:
|
||||||
test: rhel/8.8
|
test: rhel/8.8
|
||||||
- name: RHEL 9.2
|
- name: RHEL 9.2
|
||||||
test: rhel/9.2
|
test: rhel/9.2
|
||||||
- name: FreeBSD 12.4
|
|
||||||
test: freebsd/12.4
|
|
||||||
- name: FreeBSD 13.2
|
- name: FreeBSD 13.2
|
||||||
test: freebsd/13.2
|
test: freebsd/13.2
|
||||||
- stage: Remote_2_15
|
- stage: Remote_2_15
|
||||||
|
|
@ -317,8 +315,6 @@ stages:
|
||||||
parameters:
|
parameters:
|
||||||
testFormat: 2.10/{0}/1
|
testFormat: 2.10/{0}/1
|
||||||
targets:
|
targets:
|
||||||
- name: OS X 10.11
|
|
||||||
test: osx/10.11
|
|
||||||
- name: RHEL 7.9
|
- name: RHEL 7.9
|
||||||
test: rhel/7.9
|
test: rhel/7.9
|
||||||
- name: RHEL 8.2
|
- name: RHEL 8.2
|
||||||
|
|
@ -331,8 +327,6 @@ stages:
|
||||||
parameters:
|
parameters:
|
||||||
testFormat: 2.9/{0}/1
|
testFormat: 2.9/{0}/1
|
||||||
targets:
|
targets:
|
||||||
- name: OS X 10.11
|
|
||||||
test: osx/10.11
|
|
||||||
- name: RHEL 7.9
|
- name: RHEL 7.9
|
||||||
test: rhel/7.9
|
test: rhel/7.9
|
||||||
- name: RHEL 8.1
|
- name: RHEL 8.1
|
||||||
|
|
|
||||||
3
changelogs/fragments/487_ci_update.yml
Normal file
3
changelogs/fragments/487_ci_update.yml
Normal file
|
|
@ -0,0 +1,3 @@
|
||||||
|
---
|
||||||
|
trivial:
|
||||||
|
- "Drop FreeBSD12.4 from CI for ansible-core:devel(https://github.com/ansible-collections/ansible.posix/issues/486)."
|
||||||
|
|
@ -48,10 +48,7 @@ class ActionModule(ActionBase):
|
||||||
if ':' in path or path.startswith('/'):
|
if ':' in path or path.startswith('/'):
|
||||||
return path
|
return path
|
||||||
|
|
||||||
if self._task._role is not None:
|
path = self._find_needle('files', path)
|
||||||
path = self._loader.path_dwim_relative(self._task._role._role_path, 'files', path)
|
|
||||||
else:
|
|
||||||
path = self._loader.path_dwim_relative(self._loader.get_basedir(), 'files', path)
|
|
||||||
|
|
||||||
if original_path and original_path[-1] == '/' and path[-1] != '/':
|
if original_path and original_path[-1] == '/' and path[-1] != '/':
|
||||||
# make sure the dwim'd path ends in a trailing "/"
|
# make sure the dwim'd path ends in a trailing "/"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue