Compare commits

...

4 commits

Author SHA1 Message Date
Will Szumski
f982b737ee
Merge 7ac665a0aa into b228507b62 2024-06-14 23:15:45 +01:00
softwarefactory-project-zuul[bot]
b228507b62
Merge pull request #550 from saito-hideki/pr/azp_update_image
[CI] Bump Azure test container to 6.0.0

SUMMARY
Replace AZP container image version with 6.0.0:

Fixes #549

ISSUE TYPE

CI tests Pull Request

COMPONENT NAME

ansible.posix

ADDITIONAL INFORMATION
See ansible-collections/news-for-maintainers#71
2024-06-12 00:17:48 +00:00
Hideki Saito
0341c9420f
Replace AZP default image with 6.0.0
- See https://github.com/ansible-collections/news-for-maintainers/issues/71

Signed-off-by: Hideki Saito <saito@fgrep.org>
2024-06-12 08:35:57 +09:00
jovial
7ac665a0aa
Support templating in ansible_user
Before this change it is not possible to use templating for the ansible_user e.g:

  ansible_user: "{{ some_variable }}"
2022-03-25 12:00:30 +00:00
2 changed files with 2 additions and 1 deletions

View file

@ -37,7 +37,7 @@ variables:
resources:
containers:
- container: default
image: quay.io/ansible/azure-pipelines-test-container:main
image: quay.io/ansible/azure-pipelines-test-container:6.0.0
pool: Standard

View file

@ -347,6 +347,7 @@ class ActionModule(ActionBase):
user = C.DEFAULT_REMOTE_USER
else:
user = task_vars.get('ansible_user') or self._play_context.remote_user
user = self._templar.template(user)
if self._templar is not None:
user = self._templar.template(user)