mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-08 14:20:04 -07:00
Adjust YAML files (#10233)
Adjust YAML files.
(cherry picked from commit eaa5e07b28
)
This commit is contained in:
parent
e8ff74f077
commit
a9e892952d
244 changed files with 7272 additions and 7329 deletions
|
@ -11,21 +11,21 @@
|
|||
# java >= 17 is not available in RHEL and CentOS7 repos, which is required for sdkmanager to run
|
||||
- name: Bail out if not supported
|
||||
when:
|
||||
- "ansible_os_family == 'RedHat' and ansible_distribution_version is version('8.0', '<')"
|
||||
- "ansible_os_family == 'RedHat' and ansible_distribution_version is version('8.0', '<')"
|
||||
ansible.builtin.meta: end_play
|
||||
|
||||
- name: Run android_sdk tests
|
||||
environment:
|
||||
PATH: '{{ ansible_env.PATH }}:{{ android_sdk_location }}/cmdline-tools/latest/bin'
|
||||
block:
|
||||
- import_tasks: setup.yml
|
||||
- import_tasks: setup.yml
|
||||
|
||||
- name: Run default tests
|
||||
import_tasks: default-tests.yml
|
||||
when: ansible_os_family != 'FreeBSD'
|
||||
- name: Run default tests
|
||||
import_tasks: default-tests.yml
|
||||
when: ansible_os_family != 'FreeBSD'
|
||||
|
||||
# Most of the important Android SDK packages are not available on FreeBSD (like, build-tools, platform-tools and so on),
|
||||
# but at least some of the functionality can be tested (like, downloading sources)
|
||||
- name: Run FreeBSD tests
|
||||
import_tasks: freebsd-tests.yml
|
||||
when: ansible_os_family == 'FreeBSD'
|
||||
# Most of the important Android SDK packages are not available on FreeBSD (like, build-tools, platform-tools and so on),
|
||||
# but at least some of the functionality can be tested (like, downloading sources)
|
||||
- name: Run FreeBSD tests
|
||||
import_tasks: freebsd-tests.yml
|
||||
when: ansible_os_family == 'FreeBSD'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue