mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-29 23:18:55 +00:00
[PR #5680/488e828f backport][stable-6] ansible_galaxy_install: use locale C tentatively, else en_US (#5722)
ansible_galaxy_install: use locale C tentatively, else en_US (#5680)
* ansible_galaxy_install: use locale C tentatively, else en_US
* use custom exception to signal unsupported locale
* add step to remove artefacts at the end of the test
* add step to remove artefacts at the beginning of the test
* comment out context controller
* trying with temporary dir as destination
* remove collection before test with reqs file
* ensure collections are installed in temp dir in tests + check_force
* simplified the change
* added extra condition for failing locale
* improved exception handling
* add changelog fragment
(cherry picked from commit 488e828f9b)
Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
This commit is contained in:
parent
a70d9773dd
commit
6037c5d1e6
3 changed files with 32 additions and 12 deletions
|
|
@ -10,7 +10,7 @@
|
|||
name: netbox.netbox
|
||||
register: install_c0
|
||||
|
||||
- name: Assert collection was installed
|
||||
- name: Assert collection netbox.netbox was installed
|
||||
assert:
|
||||
that:
|
||||
- install_c0 is changed
|
||||
|
|
@ -34,7 +34,7 @@
|
|||
name: ansistrano.deploy
|
||||
register: install_r0
|
||||
|
||||
- name: Assert collection was installed
|
||||
- name: Assert collection ansistrano.deploy was installed
|
||||
assert:
|
||||
that:
|
||||
- install_r0 is changed
|
||||
|
|
@ -52,7 +52,7 @@
|
|||
- install_r1 is not changed
|
||||
|
||||
###################################################
|
||||
- name:
|
||||
- name: Set requirements file path
|
||||
set_fact:
|
||||
reqs_file: '{{ remote_tmp_dir }}/reqs.yaml'
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue