Ansible is a radically simple configuration-management, deployment,
task-execution, and multinode orchestration framework.
ansible-core contains the core engine, modules and plugins. It does not contain
community and partner supported Ansible Collections of modules and plugins.
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above. NOTE: This is a Python port. Instead of py312-ansible-core listed in the above command, you can pick from the names under the Packages section.
Reason:
A number of behavioural changes may affect existing playbooks and roles.
Users are encouraged to review the Ansible-core 2.19 Porting Guide at
https://docs.ansible.com/ansible/latest/porting_guides/porting_guide_core_2.19.html
sysutils/py-ansible-core: Only portscout the master ports
Never the metaport. This avoids false positives due to the metaport
using a 2.19 instead of 2.20 (because 2.20 requires Python 3.12 to be
the default python).
sysutils/py-ansible-core*: Convert py-ansible-core to a metaport
1. Move sysutils/py-ansible-core to sysutils/py-ansible-core218.
2. Add a metaport, sysutils/py-ansible-core pointing to
sysutils/py-ansible-core218.
3. Convert sysutils/py-ansible-core219 and sysutils/py-ansible-core220
to master ports for use as master ports.
This is in preparation to upgrade sysutils/py-ansible-core to 2.19.
The reason for this is as is stated in commit 8b9df0bef174,
incompatibilities may require users to adjust their playbooks and roles
in order to work on ansible-core 2.19.
See:
https://docs.ansible.com/ansible/latest/porting_guides/porting_guide_core_2.19.html
*: Revise USES=python:... version range constraints
and strip all lower bounds of 3.9 or 3.10 because they are implied now.
python:3.9-X -> python:-X
python:3.9+ -> python
python:3.10-X -> python:-X
python:3.10+ -> python
(options such as ,build preserved)
sysutils/py-ansible-core: remove setuptools upper bound
Upstream added upper bound as a precaution at release time; the
later versions build fine. Remove patch as appropriate when this
port gets updated.
With hat: python
PR: 270358
sysutils/py-ansible-core: Update to 2.15.4
The ansible-core repository no longer includes documentation or
examples. Therefore these have been removed from the port/pkg.
A todo might be to create an ansible-documentation port. However
the ansible documentation repo only supports html docs. I'm not
sure if this would be practical given that most of us use
https://docs.ansible.com anyway.
*: Replace USES=pycryptography* with USE_PYTHON=cryptography{,_build,_test}
- Introduce USE_PYTHON=cryptography{,_build,_test}
- Switch all 96 ports from USES=pycryptography to with
USE_PYTHON=cryptography{,_build,_test}
- Remove Mk/Uses/pycryptography.mk
PR: 273727
Approved by: tcberner (portmgr)
Exp-run by: antoine
framework: convert tree to use USES=pycryptography
A future commit will update to security/py-cryptography will introduce a
rust dependency.
PR: 254853
devel/py-setuptools: convert individual consumers to ${PY_SETUPTOOLS}
Currently a no-op, but in the future outputs the correct setuptools
port depending on whether USES_PYTHON=distutils is specified.
With hat: python
PR: 270510, 270358
sysutils/py-ansible-core: update to 2.15.0
Switch to USES_PYTHON=pep517 build system.
Delete USES=gmake and define our own `do-test` target as upstream has
removed the Makefile from the sources.
Support python 3.9+ following upstream.
PR: 271680
Approved by: 0mp (maintainer)
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
Fix CONFLICTS entries of multiple ports
There have been lots of missing CONFLICTS_INSTALL entries, either
because conflicting ports were added without updating existing ports,
due to name changes of generated packages, due to mis-understanding
the format and semantics of the conflicts entries, or just due to
typoes in package names.
This patch is the result of a comparison of all files contained in
the official packages with each other. This comparison was based on
packages built with default options and may therefore have missed
further conflicts with optionally installed files.
Where possible, version numbers in conflicts entries have been
generalized, some times taking advantage of the fact that a port
(Only the first 15 lines of the commit message are shown above )
sysutils/py-ansible-{base,core}: Fix run dependencies
It's been reported that a ping test to a group of hosts results in the
following warning:
[WARNING]: packaging Python module unavailable; unable to validate collection
Ansible version requirements
Add devel/py-packaging to RUN_DEPENDS to fix this issue. This also
matches the requirements.txt files of the modified ports.
Reported by: Tom Weustink <t.weustink@outlook.com>
sysutils/py-ansible-*: Fix DATADIR for Ansible plugins
All the Ansible plugins assume that the Ansible DATADIR is
${PREFIX}/share/${PYTHON_PKGNAMEPREFIX}ansible instead of
${PREFIX}/share/${PYTHON_PKGNAMEPREFIX}ansible-base or
${PREFIX}/share/${PYTHON_PKGNAMEPREFIX}ansible-core.
This patch sets the DATADIR back to its historical value. It's based on
a patch provided by madpilot.
PR: 255920
Reported by: madpilot
sysutils/*ansible*: Update CPE_VENDOR
The "ansibleworks" is not a correct CPE vendor. Change it to "redhat",
which is mentioned on websites like https://nvd.nist.gov.
sysutils/py-ansible-base: Add a new port
ansible-base is the Python package containing the essential parts of
Ansible. It is going to be replaced with ansible-core in the future
releases.
sysutils/py-ansible-core: Add new port
Ansible is a radically simple configuration-management, deployment,
task-execution, and multinode orchestration framework.
ansible-core contains the core engine, modules and plugins. It does not contain
community and partner supported Ansible Collections of modules and plugins.