mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Make ready for split-controller testing in ansible-core (#3345)
* Accept context/ in aliases. * Mark ansible_galaxy_install test as context/controller. * Fix interfaces_file test. ci_complete * Install pyone dependency. ci_complete
This commit is contained in:
parent
8e7d49c1c6
commit
98d071f61e
7 changed files with 15 additions and 1 deletions
|
@ -1,3 +1,4 @@
|
|||
destructive
|
||||
shippable/posix/group3
|
||||
skip/python2.6
|
||||
context/controller # While this is not really true, this module mainly is run on the controller, *and* needs access to the ansible-galaxy CLI tool
|
||||
|
|
2
tests/integration/targets/interfaces_file/meta/main.yml
Normal file
2
tests/integration/targets/interfaces_file/meta/main.yml
Normal file
|
@ -0,0 +1,2 @@
|
|||
dependencies:
|
||||
- setup_remote_tmp_dir
|
|
@ -1,7 +1,7 @@
|
|||
---
|
||||
- name:
|
||||
set_fact:
|
||||
interfaces_testfile: '{{ output_dir }}/interfaces'
|
||||
interfaces_testfile: '{{ remote_tmp_dir }}/interfaces'
|
||||
|
||||
- name: Copy interfaces file
|
||||
copy:
|
||||
|
|
2
tests/integration/targets/one_template/meta/main.yml
Normal file
2
tests/integration/targets/one_template/meta/main.yml
Normal file
|
@ -0,0 +1,2 @@
|
|||
dependencies:
|
||||
- setup_opennebula
|
2
tests/integration/targets/setup_opennebula/meta/main.yml
Normal file
2
tests/integration/targets/setup_opennebula/meta/main.yml
Normal file
|
@ -0,0 +1,2 @@
|
|||
dependencies:
|
||||
- setup_remote_constraints
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
- name: Install required library
|
||||
pip:
|
||||
name: pyone
|
||||
extra_args: "-c {{ remote_constraints }}"
|
|
@ -41,6 +41,8 @@ def main():
|
|||
continue
|
||||
if line.startswith('cloud/'):
|
||||
continue
|
||||
if line.startswith('context/'):
|
||||
continue
|
||||
if line in ('unsupported', 'disabled', 'hidden'):
|
||||
skip = True
|
||||
if line in ('destructive', ):
|
||||
|
|
Loading…
Reference in a new issue