1
0
Fork 0
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) (#3412)

* Accept context/ in aliases.

* Mark ansible_galaxy_install test as context/controller.

* Fix interfaces_file test.

ci_complete

* Install pyone dependency.

ci_complete

(cherry picked from commit 98d071f61e)

Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
patchback[bot] 2021-09-21 09:03:28 +02:00 committed by GitHub
parent cfc28a3f6a
commit 263c5ba9de
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 15 additions and 1 deletions

View file

@ -1,3 +1,4 @@
destructive destructive
shippable/posix/group3 shippable/posix/group3
skip/python2.6 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

View file

@ -0,0 +1,2 @@
dependencies:
- setup_remote_tmp_dir

View file

@ -1,7 +1,7 @@
--- ---
- name: - name:
set_fact: set_fact:
interfaces_testfile: '{{ output_dir }}/interfaces' interfaces_testfile: '{{ remote_tmp_dir }}/interfaces'
- name: Copy interfaces file - name: Copy interfaces file
copy: copy:

View file

@ -0,0 +1,2 @@
dependencies:
- setup_opennebula

View file

@ -0,0 +1,2 @@
dependencies:
- setup_remote_constraints

View file

@ -0,0 +1,5 @@
---
- name: Install required library
pip:
name: pyone
extra_args: "-c {{ remote_constraints }}"

View file

@ -41,6 +41,8 @@ def main():
continue continue
if line.startswith('cloud/'): if line.startswith('cloud/'):
continue continue
if line.startswith('context/'):
continue
if line in ('unsupported', 'disabled', 'hidden'): if line in ('unsupported', 'disabled', 'hidden'):
skip = True skip = True
if line in ('destructive', ): if line in ('destructive', ):