mirror of https://github.com/ansible/ansible.git
ansible-test - split controller/target testing (#75605)
parent
989eeb243f
commit
4ea8d9a782
@ -1 +1 @@
|
|||||||
../test/lib/ansible_test/_util/controller/cli/ansible_test_cli_stub.py
|
../test/lib/ansible_test/_util/target/cli/ansible_test_cli_stub.py
|
@ -0,0 +1,38 @@
|
|||||||
|
breaking_changes:
|
||||||
|
- ansible-test - Automatic installation of requirements for "cloud" test plugins no longer occurs. The affected test plugins are
|
||||||
|
``aws``, ``azure``, ``cs``, ``hcloud``, ``nios``, ``opennebula``, ``openshift`` and ``vcenter``. Collections should instead use one of the
|
||||||
|
supported integration test requirements files, such as the ``tests/integration/requirements.txt`` file.
|
||||||
|
major_changes:
|
||||||
|
- ansible-test - Python 3.8 - 3.10 are now required to run ``ansible-test``, thus matching the Ansible controller Python requirements.
|
||||||
|
Older Python versions (2.6 - 2.7 and 3.5 - 3.10) can still be the target for relevant tests.
|
||||||
|
- ansible-test - New ``--controller`` and ``--target`` / ``--target-python`` options have been added to allow more control over test environments.
|
||||||
|
- ansible-test - Integration tests run with the ``integration`` command can now be executed on two separate hosts instead of always running on the controller.
|
||||||
|
The target host can be one provided by ``ansible-test`` or by the user, as long as it is accessible using SSH.
|
||||||
|
- ansible-test - Collections can now specify controller and target specific integration test requirements and constraints.
|
||||||
|
If provided, they take precedence over the previously available requirements and constraints files.
|
||||||
|
- ansible-test - Sanity tests always run in isolated Python virtual environments specific to the requirements of each test. The environments are cached.
|
||||||
|
- ansible-test - Sanity tests now use fully pinned requirements that are independent of each other and other test types.
|
||||||
|
- ansible-test - Sanity tests are now separated into two categories, controller and target. All tests except ``import`` and ``compile`` are controller tests.
|
||||||
|
The controller tests always run using the same Python version used to run ``ansible-test``.
|
||||||
|
The target tests use the Python version(s) specified by the user, or all available Python versions.
|
||||||
|
- junit callback - The ``junit_xml`` and ``ordereddict`` Python modules are no longer required to use the ``junit`` callback plugin.
|
||||||
|
minor_changes:
|
||||||
|
- ansible-test - Using an unknown ``--docker`` or ``--remote`` environment now requires specifying a Python version.
|
||||||
|
- ansible-test - The ``--docker-keep-git`` option (used only for testing ansible-core) has been renamed to ``--keep-git``.
|
||||||
|
- ansible-test - A new ``base`` test container is available.
|
||||||
|
It is similar to the ``default`` test container, but contains no pre-installed Python packages other than ``pip`` and its dependencies.
|
||||||
|
- ansible-test - Default settings are now applied to unknown versions of known ``--remote`` platforms.
|
||||||
|
- ansible-test - Constraints provided by ``ansible-test`` for Python package installs have been reduced.
|
||||||
|
- ansible-test - Command line help has been updated to hide the ``--remote`` option (and related options) when the user lacks an API key to use the feature.
|
||||||
|
- ansible-test - The ``--python`` option can be used without another delegation option such as the ``--venv`` or ``--docker`` options.
|
||||||
|
- ansible-test - Environment checking (``pip``, ``python``, ``~/.ssh/known_hosts``, etc.) is no longer performed when running integration tests.
|
||||||
|
- ansible-test - Most scripts used internally by ``ansible-test`` no longer have a shebang or the executable bit set.
|
||||||
|
bugfixes:
|
||||||
|
- ansible-test - Tab completion after options like ``--docker`` which accept an optional argument will no longer provide incorrect completions.
|
||||||
|
- ansible-test - The ``--python`` and ``--venv`` options are no longer ignored by some commands, such as ``coverage``.
|
||||||
|
known_issues:
|
||||||
|
- ansible-test - Tab completion anywhere other than the end of the command with the new composite options will provide incorrect results.
|
||||||
|
See https://github.com/kislyuk/argcomplete/issues/351 for additional details.
|
||||||
|
deprecated_features:
|
||||||
|
- ansible-test - The ``--docker-no-pull`` option is deprecated and has no effect.
|
||||||
|
- ansible-test - The ``--no-pip-check`` option is deprecated and has no effect.
|
@ -0,0 +1,8 @@
|
|||||||
|
ansible-test-future-boilerplate
|
||||||
|
===============================
|
||||||
|
|
||||||
|
The ``_internal`` code for ``ansible-test`` requires the following ``__future__`` import:
|
||||||
|
|
||||||
|
.. code-block:: python
|
||||||
|
|
||||||
|
from __future__ import annotations
|
@ -0,0 +1,268 @@
|
|||||||
|
"""
|
||||||
|
Dataclasses for creating JUnit XML files.
|
||||||
|
See: https://github.com/junit-team/junit5/blob/main/platform-tests/src/test/resources/jenkins-junit.xsd
|
||||||
|
"""
|
||||||
|
from __future__ import annotations
|
||||||
|
|
||||||
|
import abc
|
||||||
|
import dataclasses
|
||||||
|
import datetime
|
||||||
|
import decimal
|
||||||
|
import typing as t
|
||||||
|
|
||||||
|
from xml.dom import minidom
|
||||||
|
# noinspection PyPep8Naming
|
||||||
|
from xml.etree import ElementTree as ET
|
||||||
|
|
||||||
|
|
||||||
|
@dataclasses.dataclass
|
||||||
|
class TestResult(metaclass=abc.ABCMeta):
|
||||||
|
"""Base class for the result of a test case."""
|
||||||
|
output: t.Optional[str] = None
|
||||||
|
message: t.Optional[str] = None
|
||||||
|
type: t.Optional[str] = None
|
||||||
|
|
||||||
|
def __post_init__(self):
|
||||||
|
if self.type is None:
|
||||||
|
self.type = self.tag
|
||||||
|
|
||||||
|
@property
|
||||||
|
@abc.abstractmethod
|
||||||
|
def tag(self) -> str:
|
||||||
|
"""Tag name for the XML element created by this result type."""
|
||||||
|
|
||||||
|
def get_attributes(self) -> t.Dict[str, str]:
|
||||||
|
"""Return a dictionary of attributes for this instance."""
|
||||||
|
return _attributes(
|
||||||
|
message=self.message,
|
||||||
|
type=self.type,
|
||||||
|
)
|
||||||
|
|
||||||
|
def get_xml_element(self) -> ET.Element:
|
||||||
|
"""Return an XML element representing this instance."""
|
||||||
|
element = ET.Element(self.tag, self.get_attributes())
|
||||||
|
element.text = self.output
|
||||||
|
|
||||||
|
return element
|
||||||
|
|
||||||
|
|
||||||
|
@dataclasses.dataclass
|
||||||
|
class TestFailure(TestResult):
|
||||||
|
"""Failure info for a test case."""
|
||||||
|
@property
|
||||||
|
def tag(self) -> str:
|
||||||
|
"""Tag name for the XML element created by this result type."""
|
||||||
|
return 'failure'
|
||||||
|
|
||||||
|
|
||||||
|
@dataclasses.dataclass
|
||||||
|
class TestError(TestResult):
|
||||||
|
"""Error info for a test case."""
|
||||||
|
@property
|
||||||
|
def tag(self) -> str:
|
||||||
|
"""Tag name for the XML element created by this result type."""
|
||||||
|
return 'error'
|
||||||
|
|
||||||
|
|
||||||
|
@dataclasses.dataclass
|
||||||
|
class TestCase:
|
||||||
|
"""An individual test case."""
|
||||||
|
name: str
|
||||||
|
assertions: t.Optional[int] = None
|
||||||
|
classname: t.Optional[str] = None
|
||||||
|
status: t.Optional[str] = None
|
||||||
|
time: t.Optional[decimal.Decimal] = None
|
||||||
|
|
||||||
|
errors: t.List[TestError] = dataclasses.field(default_factory=list)
|
||||||
|
failures: t.List[TestFailure] = dataclasses.field(default_factory=list)
|
||||||
|
skipped: t.Optional[str] = None
|
||||||
|
system_out: t.Optional[str] = None
|
||||||
|
system_err: t.Optional[str] = None
|
||||||
|
|
||||||
|
is_disabled: bool = False
|
||||||
|
|
||||||
|
@property
|
||||||
|
def is_failure(self) -> bool:
|
||||||
|
"""True if the test case contains failure info."""
|
||||||
|
return bool(self.failures)
|
||||||
|
|
||||||
|
@property
|
||||||
|
def is_error(self) -> bool:
|
||||||
|
"""True if the test case contains error info."""
|
||||||
|
return bool(self.errors)
|
||||||
|
|
||||||
|
@property
|
||||||
|
def is_skipped(self) -> bool:
|
||||||
|
"""True if the test case was skipped."""
|
||||||
|
return bool(self.skipped)
|
||||||
|
|
||||||
|
def get_attributes(self) -> t.Dict[str, str]:
|
||||||
|
"""Return a dictionary of attributes for this instance."""
|
||||||
|
return _attributes(
|
||||||
|
assertions=self.assertions,
|
||||||
|
classname=self.classname,
|
||||||
|
name=self.name,
|
||||||
|
status=self.status,
|
||||||
|
time=self.time,
|
||||||
|
)
|
||||||
|
|
||||||
|
def get_xml_element(self) -> ET.Element:
|
||||||
|
"""Return an XML element representing this instance."""
|
||||||
|
element = ET.Element('testcase', self.get_attributes())
|
||||||
|
|
||||||
|
if self.skipped:
|
||||||
|
ET.SubElement(element, 'skipped').text = self.skipped
|
||||||
|
|
||||||
|
element.extend([error.get_xml_element() for error in self.errors])
|
||||||
|
element.extend([failure.get_xml_element() for failure in self.failures])
|
||||||
|
|
||||||
|
if self.system_out:
|
||||||
|
ET.SubElement(element, 'system-out').text = self.system_out
|
||||||
|
|
||||||
|
if self.system_err:
|
||||||
|
ET.SubElement(element, 'system-err').text = self.system_err
|
||||||
|
|
||||||
|
return element
|
||||||
|
|
||||||
|
|
||||||
|
@dataclasses.dataclass
|
||||||
|
class TestSuite:
|
||||||
|
"""A collection of test cases."""
|
||||||
|
name: str
|
||||||
|
hostname: t.Optional[str] = None
|
||||||
|
id: t.Optional[str] = None
|
||||||
|
package: t.Optional[str] = None
|
||||||
|
timestamp: t.Optional[datetime.datetime] = None
|
||||||
|
|
||||||
|
properties: t.Dict[str, str] = dataclasses.field(default_factory=dict)
|
||||||
|
cases: t.List[TestCase] = dataclasses.field(default_factory=list)
|
||||||
|
system_out: t.Optional[str] = None
|
||||||
|
system_err: t.Optional[str] = None
|
||||||
|
|
||||||
|
@property
|
||||||
|
def disabled(self) -> int:
|
||||||
|
"""The number of disabled test cases."""
|
||||||
|
return sum(case.is_disabled for case in self.cases)
|
||||||
|
|
||||||
|
@property
|
||||||
|
def errors(self) -> int:
|
||||||
|
"""The number of test cases containing error info."""
|
||||||
|
return sum(case.is_error for case in self.cases)
|
||||||
|
|
||||||
|
@property
|
||||||
|
def failures(self) -> int:
|
||||||
|
"""The number of test cases containing failure info."""
|
||||||
|
return sum(case.is_failure for case in self.cases)
|
||||||
|
|
||||||
|
@property
|
||||||
|
def skipped(self) -> int:
|
||||||
|
"""The number of test cases containing skipped info."""
|
||||||
|
return sum(case.is_skipped for case in self.cases)
|
||||||
|
|
||||||
|
@property
|
||||||
|
def tests(self) -> int:
|
||||||
|
"""The number of test cases."""
|
||||||
|
return len(self.cases)
|
||||||
|
|
||||||
|
@property
|
||||||
|
def time(self) -> decimal.Decimal:
|
||||||
|
"""The total time from all test cases."""
|
||||||
|
return sum(case.time for case in self.cases if case.time)
|
||||||
|
|
||||||
|
def get_attributes(self) -> t.Dict[str, str]:
|
||||||
|
"""Return a dictionary of attributes for this instance."""
|
||||||
|
return _attributes(
|
||||||
|
disabled=self.disabled,
|
||||||
|
errors=self.errors,
|
||||||
|
failures=self.failures,
|
||||||
|
hostname=self.hostname,
|
||||||
|
id=self.id,
|
||||||
|
name=self.name,
|
||||||
|
package=self.package,
|
||||||
|
skipped=self.skipped,
|
||||||
|
tests=self.tests,
|
||||||
|
time=self.time,
|
||||||
|
timestamp=self.timestamp.isoformat(timespec='seconds') if self.timestamp else None,
|
||||||
|
)
|
||||||
|
|
||||||
|
def get_xml_element(self) -> ET.Element:
|
||||||
|
"""Return an XML element representing this instance."""
|
||||||
|
element = ET.Element('testsuite', self.get_attributes())
|
||||||
|
|
||||||
|
if self.properties:
|
||||||
|
ET.SubElement(element, 'properties').extend([ET.Element('property', dict(name=name, value=value)) for name, value in self.properties.items()])
|
||||||
|
|
||||||
|
element.extend([test_case.get_xml_element() for test_case in self.cases])
|
||||||
|
|
||||||
|
if self.system_out:
|
||||||
|
ET.SubElement(element, 'system-out').text = self.system_out
|
||||||
|
|
||||||
|
if self.system_err:
|
||||||
|
ET.SubElement(element, 'system-err').text = self.system_err
|
||||||
|
|
||||||
|
return element
|
||||||
|
|
||||||
|
|
||||||
|
@dataclasses.dataclass
|
||||||
|
class TestSuites:
|
||||||
|
"""A collection of test suites."""
|
||||||
|
name: t.Optional[str] = None
|
||||||
|
|
||||||
|
suites: t.List[TestSuite] = dataclasses.field(default_factory=list)
|
||||||
|
|
||||||
|
@property
|
||||||
|
def disabled(self) -> int:
|
||||||
|
"""The number of disabled test cases."""
|
||||||
|
return sum(suite.disabled for suite in self.suites)
|
||||||
|
|
||||||
|
@property
|
||||||
|
def errors(self) -> int:
|
||||||
|
"""The number of test cases containing error info."""
|
||||||
|
return sum(suite.errors for suite in self.suites)
|
||||||
|
|
||||||
|
@property
|
||||||
|
def failures(self) -> int:
|
||||||
|
"""The number of test cases containing failure info."""
|
||||||
|
return sum(suite.failures for suite in self.suites)
|
||||||
|
|
||||||
|
@property
|
||||||
|
def tests(self) -> int:
|
||||||
|
"""The number of test cases."""
|
||||||
|
return sum(suite.tests for suite in self.suites)
|
||||||
|
|
||||||
|
@property
|
||||||
|
def time(self) -> decimal.Decimal:
|
||||||
|
"""The total time from all test cases."""
|
||||||
|
return sum(suite.time for suite in self.suites)
|
||||||
|
|
||||||
|
def get_attributes(self) -> t.Dict[str, str]:
|
||||||
|
"""Return a dictionary of attributes for this instance."""
|
||||||
|
return _attributes(
|
||||||
|
disabled=self.disabled,
|
||||||
|
errors=self.errors,
|
||||||
|
failures=self.failures,
|
||||||
|
name=self.name,
|
||||||
|
tests=self.tests,
|
||||||
|
time=self.time,
|
||||||
|
)
|
||||||
|
|
||||||
|
def get_xml_element(self) -> ET.Element:
|
||||||
|
"""Return an XML element representing this instance."""
|
||||||
|
element = ET.Element('testsuites', self.get_attributes())
|
||||||
|
element.extend([suite.get_xml_element() for suite in self.suites])
|
||||||
|
|
||||||
|
return element
|
||||||
|
|
||||||
|
def to_pretty_xml(self) -> str:
|
||||||
|
"""Return a pretty formatted XML string representing this instance."""
|
||||||
|
return _pretty_xml(self.get_xml_element())
|
||||||
|
|
||||||
|
|
||||||
|
def _attributes(**kwargs) -> t.Dict[str, str]:
|
||||||
|
"""Return the given kwargs as a dictionary with values converted to strings. Items with a value of None will be omitted."""
|
||||||
|
return {key: str(value) for key, value in kwargs.items() if value is not None}
|
||||||
|
|
||||||
|
|
||||||
|
def _pretty_xml(element: ET.Element) -> str:
|
||||||
|
"""Return a pretty formatted XML string representing the given element."""
|
||||||
|
return minidom.parseString(ET.tostring(element, encoding='unicode')).toprettyxml()
|
@ -1 +1,2 @@
|
|||||||
shippable/posix/group2
|
shippable/posix/group2
|
||||||
|
context/controller
|
||||||
|
@ -1,2 +1,3 @@
|
|||||||
shippable/posix/group1
|
shippable/posix/group1
|
||||||
skip/aix
|
skip/aix
|
||||||
|
context/target
|
||||||
|
@ -1 +1,2 @@
|
|||||||
shippable/posix/group1
|
shippable/posix/group1
|
||||||
|
context/controller
|
||||||
|
@ -1,3 +1,2 @@
|
|||||||
shippable/posix/group4
|
shippable/posix/group4
|
||||||
skip/aix
|
context/controller
|
||||||
skip/python2.6 # ansible-galaxy uses tarfile with features not available until 2.7
|
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
shippable/galaxy/group1
|
shippable/galaxy/group1
|
||||||
shippable/galaxy/smoketest
|
shippable/galaxy/smoketest
|
||||||
cloud/galaxy
|
cloud/galaxy
|
||||||
|
context/controller
|
||||||
|
@ -1,2 +1,2 @@
|
|||||||
shippable/posix/group4
|
shippable/posix/group4
|
||||||
skip/python2.6 # build uses tarfile with features not available until 2.7
|
context/controller
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
destructive
|
destructive
|
||||||
shippable/posix/group4
|
shippable/posix/group4
|
||||||
skip/python2.6 # build uses tarfile with features not available until 2.7
|
context/controller
|
||||||
skip/aix
|
|
||||||
|
@ -1 +1,2 @@
|
|||||||
shippable/posix/group5
|
shippable/posix/group5
|
||||||
|
context/controller
|
||||||
|
@ -1,2 +1,2 @@
|
|||||||
shippable/posix/group3
|
shippable/posix/group3
|
||||||
skip/aix
|
context/controller
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
shippable/posix/group3
|
shippable/posix/group3
|
||||||
skip/python2 # ansible-runner is for controller and deprecated python2 support
|
context/controller
|
||||||
skip/aix
|
|
||||||
skip/osx
|
skip/osx
|
||||||
skip/macos
|
skip/macos
|
||||||
skip/freebsd
|
skip/freebsd
|
||||||
|
@ -1,2 +1,3 @@
|
|||||||
cloud/acme
|
cloud/acme
|
||||||
shippable/generic/group1
|
shippable/generic/group1
|
||||||
|
context/controller
|
||||||
|
@ -1,2 +1,3 @@
|
|||||||
cloud/cs
|
cloud/cs
|
||||||
shippable/generic/group1
|
shippable/generic/group1
|
||||||
|
context/controller
|
||||||
|
@ -1,2 +1,3 @@
|
|||||||
cloud/foreman
|
cloud/foreman
|
||||||
shippable/generic/group1
|
shippable/generic/group1
|
||||||
|
context/controller
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
shippable/galaxy/group1
|
shippable/galaxy/group1
|
||||||
shippable/galaxy/smoketest
|
shippable/galaxy/smoketest
|
||||||
cloud/galaxy
|
cloud/galaxy
|
||||||
|
context/controller
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
cloud/httptester
|
cloud/httptester
|
||||||
windows
|
windows
|
||||||
shippable/windows/group1
|
shippable/windows/group1
|
||||||
|
context/target
|
||||||
|
@ -1,2 +1,3 @@
|
|||||||
needs/httptester # using legacy alias for testing purposes
|
needs/httptester # using legacy alias for testing purposes
|
||||||
shippable/posix/group1
|
shippable/posix/group1
|
||||||
|
context/controller
|
||||||
|
@ -1,2 +1,3 @@
|
|||||||
cloud/nios
|
cloud/nios
|
||||||
shippable/generic/group1
|
shippable/generic/group1
|
||||||
|
context/controller
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
cloud/openshift
|
cloud/openshift
|
||||||
shippable/generic/group1
|
shippable/generic/group1
|
||||||
disabled # disabled due to requirements conflict: botocore 1.20.6 has requirement urllib3<1.27,>=1.25.4, but you have urllib3 1.24.3.
|
disabled # disabled due to requirements conflict: botocore 1.20.6 has requirement urllib3<1.27,>=1.25.4, but you have urllib3 1.24.3.
|
||||||
|
context/controller
|
||||||
|
@ -1,2 +1,3 @@
|
|||||||
cloud/vcenter
|
cloud/vcenter
|
||||||
shippable/generic/group1
|
shippable/generic/group1
|
||||||
|
context/controller
|
||||||
|
@ -1 +1,2 @@
|
|||||||
shippable/generic/group1 # Runs in the default test container so access to tools like pwsh
|
shippable/generic/group1 # Runs in the default test container so access to tools like pwsh
|
||||||
|
context/controller
|
||||||
|
@ -1,2 +1,2 @@
|
|||||||
shippable/posix/group1
|
shippable/posix/group1
|
||||||
skip/aix
|
context/controller
|
||||||
|
@ -0,0 +1 @@
|
|||||||
|
context/controller
|
@ -1,2 +1,2 @@
|
|||||||
shippable/posix/group3
|
shippable/posix/group3
|
||||||
skip/aix
|
context/controller
|
||||||
|
@ -1,2 +1,2 @@
|
|||||||
shippable/posix/group4
|
shippable/posix/group4
|
||||||
skip/aix
|
context/controller
|
||||||
|
@ -1 +1,2 @@
|
|||||||
shippable/posix/group3
|
shippable/posix/group3
|
||||||
|
context/controller
|
||||||
|
@ -1 +1,2 @@
|
|||||||
shippable/posix/group3
|
shippable/posix/group3
|
||||||
|
context/controller
|
||||||
|
@ -1 +1,2 @@
|
|||||||
shippable/posix/group5
|
shippable/posix/group5
|
||||||
|
context/controller
|
||||||
|
@ -1,2 +1,2 @@
|
|||||||
shippable/posix/group3
|
shippable/posix/group3
|
||||||
skip/aix
|
context/controller # this is a controller-only action, the module is just for documentation
|
||||||
|
@ -1 +1,2 @@
|
|||||||
shippable/posix/group5
|
shippable/posix/group5
|
||||||
|
context/target
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
destructive
|
destructive
|
||||||
shippable/posix/group1
|
shippable/posix/group1
|
||||||
skip/aix
|
skip/aix
|
||||||
|
context/target
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
destructive
|
destructive
|
||||||
shippable/posix/group1
|
shippable/posix/group1
|
||||||
skip/aix
|
context/controller
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
destructive
|
destructive
|
||||||
shippable/posix/group1
|
shippable/posix/group1
|
||||||
skip/aix
|
|
||||||
needs/ssh
|
needs/ssh
|
||||||
needs/root
|
needs/root
|
||||||
|
context/controller
|
||||||
|
@ -1 +1,2 @@
|
|||||||
shippable/posix/group2
|
shippable/posix/group2
|
||||||
|
context/target
|
||||||
|
@ -1,2 +1,3 @@
|
|||||||
shippable/posix/group3
|
shippable/posix/group3
|
||||||
needs/target/binary_modules
|
needs/target/binary_modules
|
||||||
|
context/target
|
||||||
|
@ -1 +1,2 @@
|
|||||||
shippable/posix/group3
|
shippable/posix/group3
|
||||||
|
context/controller
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
setup/always/setup_passlib
|
setup/always/setup_passlib
|
||||||
setup/always/setup_pexpect
|
setup/always/setup_pexpect
|
||||||
shippable/posix/group4
|
shippable/posix/group4
|
||||||
|
context/controller
|
||||||
|
@ -1 +1,2 @@
|
|||||||
shippable/posix/group2
|
shippable/posix/group2
|
||||||
|
context/controller
|
||||||
|
@ -1 +1,2 @@
|
|||||||
shippable/posix/group3
|
shippable/posix/group3
|
||||||
|
context/controller
|
||||||
|
@ -1 +1,2 @@
|
|||||||
shippable/posix/group1
|
shippable/posix/group1
|
||||||
|
context/controller
|
||||||
|
@ -1,3 +1,2 @@
|
|||||||
shippable/posix/group4
|
shippable/posix/group4
|
||||||
skip/python2.6
|
context/controller
|
||||||
skip/aix
|
|
||||||
|
@ -1 +1,2 @@
|
|||||||
shippable/posix/group2
|
shippable/posix/group2
|
||||||
|
context/controller
|
||||||
|
@ -1 +1,2 @@
|
|||||||
shippable/posix/group5
|
shippable/posix/group5
|
||||||
|
context/controller
|
||||||
|
@ -1 +1,2 @@
|
|||||||
shippable/posix/group1
|
shippable/posix/group1
|
||||||
|
context/controller
|
||||||
|
@ -1 +1,2 @@
|
|||||||
shippable/posix/group1
|
shippable/posix/group1
|
||||||
|
context/controller
|
||||||
|
@ -0,0 +1,2 @@
|
|||||||
|
context/controller
|
||||||
|
shippable/posix/group1
|
@ -0,0 +1,9 @@
|
|||||||
|
- name: Verify testhost is control host
|
||||||
|
stat:
|
||||||
|
path: "{{ output_dir }}"
|
||||||
|
- name: Get control host details
|
||||||
|
setup:
|
||||||
|
register: control_host
|
||||||
|
- name: Show control host details
|
||||||
|
debug:
|
||||||
|
msg: "{{ control_host.ansible_facts.ansible_distribution }} {{ control_host.ansible_facts.ansible_distribution_version }}"
|
@ -1 +1,2 @@
|
|||||||
shippable/posix/group1
|
shippable/posix/group1
|
||||||
|
context/controller
|
||||||
|
@ -1 +1,2 @@
|
|||||||
shippable/posix/group1
|
shippable/posix/group1
|
||||||
|
context/controller # this is a controller-only action, the module is just for documentation
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
shippable/posix/group3
|
shippable/posix/group3
|
||||||
needs/ssh
|
needs/ssh
|
||||||
needs/root # only on macOS and FreeBSD to configure network interfaces
|
needs/root # only on macOS and FreeBSD to configure network interfaces
|
||||||
skip/aix
|
context/controller
|
||||||
|
@ -1 +1,2 @@
|
|||||||
shippable/posix/group1
|
shippable/posix/group1
|
||||||
|
context/controller
|
||||||
|
@ -1 +1,2 @@
|
|||||||
shippable/posix/group1
|
shippable/posix/group1
|
||||||
|
context/controller
|
||||||
|
@ -1 +1,2 @@
|
|||||||
shippable/posix/group2
|
shippable/posix/group2
|
||||||
|
context/target
|
||||||
|
@ -1 +1,2 @@
|
|||||||
shippable/posix/group3
|
shippable/posix/group3
|
||||||
|
context/target
|
||||||
|
@ -1 +1,2 @@
|
|||||||
shippable/posix/group2
|
shippable/posix/group2
|
||||||
|
context/controller
|
||||||
|
@ -1 +1,2 @@
|
|||||||
shippable/posix/group2
|
shippable/posix/group2
|
||||||
|
context/controller
|
||||||
|
@ -1 +1,2 @@
|
|||||||
shippable/posix/group2
|
shippable/posix/group2
|
||||||
|
context/controller
|
||||||
|
@ -1,2 +1,3 @@
|
|||||||
shippable/posix/group2
|
shippable/posix/group2
|
||||||
needs/target/setup_remote_tmp_dir
|
needs/target/setup_remote_tmp_dir
|
||||||
|
needs/ssh
|
||||||
|
@ -1,8 +0,0 @@
|
|||||||
all:
|
|
||||||
hosts:
|
|
||||||
testhost:
|
|
||||||
ansible_host: localhost
|
|
||||||
ansible_connection: ssh
|
|
||||||
ansible_python_interpreter: "{{ ansible_playbook_python }}"
|
|
||||||
ansible_host_key_checking: no
|
|
||||||
ansible_ssh_common_args: -o UserKnownHostsFile={{ output_dir }}/known_hosts -o StrictHostKeyChecking=no
|
|
@ -1 +1,2 @@
|
|||||||
shippable/posix/group3
|
shippable/posix/group3
|
||||||
|
context/controller
|
||||||
|
@ -1,2 +1,3 @@
|
|||||||
shippable/posix/group3
|
shippable/posix/group3
|
||||||
needs/root
|
needs/root
|
||||||
|
context/controller
|
||||||
|
@ -1,2 +1,3 @@
|
|||||||
shippable/posix/group2
|
shippable/posix/group2
|
||||||
needs/file/test/lib/ansible_test/_data/requirements/constraints.txt
|
needs/file/test/lib/ansible_test/_data/requirements/constraints.txt
|
||||||
|
context/controller
|
||||||
|
@ -1,3 +1,2 @@
|
|||||||
shippable/posix/group5
|
shippable/posix/group5
|
||||||
handler_race
|
context/controller
|
||||||
skip/aix
|
|
||||||
|
@ -1,3 +1,2 @@
|
|||||||
shippable/posix/group5
|
shippable/posix/group5
|
||||||
handlers
|
context/controller
|
||||||
skip/aix
|
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
destructive
|
destructive
|
||||||
needs/privileged
|
needs/privileged
|
||||||
shippable/posix/group2
|
shippable/posix/group2
|
||||||
|
context/controller
|
||||||
|
@ -1 +1,2 @@
|
|||||||
shippable/posix/group3
|
shippable/posix/group3
|
||||||
|
context/controller
|
||||||
|
@ -1 +1,2 @@
|
|||||||
shippable/posix/group3
|
shippable/posix/group3
|
||||||
|
context/controller
|
||||||
|
@ -1 +1,2 @@
|
|||||||
shippable/posix/group4
|
shippable/posix/group4
|
||||||
|
context/controller
|
||||||
|
@ -1 +1,2 @@
|
|||||||
shippable/posix/group3
|
shippable/posix/group3
|
||||||
|
context/controller
|
||||||
|
@ -1,2 +1,2 @@
|
|||||||
shippable/posix/group5
|
shippable/posix/group5
|
||||||
skip/aix
|
context/controller # this is a controller-only action, the module is just for documentation
|
||||||
|
@ -1 +1,2 @@
|
|||||||
shippable/posix/incidental
|
shippable/posix/incidental
|
||||||
|
context/target
|
||||||
|
@ -1,2 +1,3 @@
|
|||||||
cloud/aws
|
cloud/aws
|
||||||
shippable/aws/incidental
|
shippable/aws/incidental
|
||||||
|
context/controller
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue