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 listed in the above command, you can pick from the names under the Packages section.
Reason:
An overhaul of the templating system and a new feature called Data Tagging
may affect existing roles resulting in problematic behaviours. Users should
review the Ansible 12 Porting Guide at
https://docs.ansible.com/projects/ansible/devel/porting_guides/porting_guide_12.html
Reason:
Ansible has been updated to 3.3.0. Please follow the porting guide
to update the rulesets:
https://docs.ansible.com/ansible/devel/porting_guides/porting_guide_3.html
*/*: Use C.UTF-8 locale
Ports 02f27a83b44d fixed the ports tree to the C locale so it would work
correctly in environments where users use a locale that isn't compatible
with the C locale, e.g. xx_YY.UTF-8 where [A-Z] includes more than just
upper case letters. USE_LOCALE was introduced to let ports use another
locale if they needed it. The C.UTF-8 locale was created later on to be
mostly compatible with the C locale.
Switch the ports tree locale to C.UTF-8 and remove USE_LOCALE. The
world has moved to Unicode so all ports either require it or know how to
build correctly in a Unicode environment.
PR: 295945
Exp-run by: antoine
sysutils/ansible: Fix ansible.posix.mount - core 2.19 deprecation warning
Fix:
[WARNING]: Deprecation warnings can be disabled by setting
`deprecation_warnings=False` in ansible.cfg.
[DEPRECATION WARNING]: Passing `warnings` to `exit_json` or `fail_json` is
deprecated. This feature will be removed from ansible-core version 2.23. Use
`AnsibleModule.warn` instead.
ansible-collections/ansible.posix Issue #676 describes the issue above.
See https://github.com/ansible-collections/ansible.posix/issues/676.
Upstream commit ab8dfef from pull upstream request #670 addresses this bug.
See https://github.com/ansible-collections/ansible.posix/pull/670.
We cherry-pick the upstream pull request here to remove the annoying
message.
Fixes: 2bf152f274d4
*: 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)
Revert "sysutils/ansible: Add flavour for use with py-ansible-core219"
This commit breaks the build. Revert it.
PR: 289773
This reverts commit 4d43e9f1d334e50a76d94718a910ceb5f89f2cd2.
python: bump all USE_PYTHON=distutils consumers after RUN_DEPENDS removal
Any missed ports, feel free to bump.
Any ports that need setuptools at runtime can have the devel/py-setuptools
manually added back to RUN_DEPENDS, but understand that this practice
is deprecated; see CHANGES for details.
sysutils/ansible: Chase 58df5a82adc40a6959e9b22c, net/py-netaddr update
net/py-netaddr 1.2.1 deprecated and removed the is_private method.
This breaks ansible-collections which is bundled this port's tarball.
The upstream patch uses the is_global methhod instead.
Reported by: Einar Bjarni Halldorsson <einar@isnic.is>
Obtained from: https://github.com/ansible-collections/ansible.utils/pull/338
sysutils/ansible: Support ansible-galaxy install from community
Fix:
Starting galaxy collection install process
ERROR! importlib_resources is not installed and is required
Please add devel/py-importlib-resources as a dependency when installing
Ansible, and perhaps also for the ansible-compat and ansible-core packages?
PR: 274408
sysutils/ansible: security update to 7.6.0
Use python 3.9+ following upstream and ansible-core
Delete CONFLICTS -- conflicting ports were mostly removed in 2020 and
2021 with the last being removed at the end of last year.
Security: f418cd50-561a-49a2-a133-965d03ede72a
Security: e1b77733-a982-442e-8796-a200571bfcf2
PR: 271679
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 )
sysutils/ansible: Do not replace shebangs within modules
It turns out that Ansible does not like when we replace the shebang
lines with a path to a Python interpreter with a trailing number
(like "python3.9").
Stop replacing the shebang lines in modules directories. If it turns out
to be problematic as well, we may consider introducing an indirect
symlink to the versioned Python interpreter from a path like
/usr/local/libexec/ansible/bin/python for example.
PR: 265211
Reported by: vladimir-csp@yandex.ru
*/*: Remove redundant '-*' from CONFLICTS definitions
The conflict checks compare the patterns first against the package
names without version (as reported by "pkg query "%n"), then - if
there was no match - agsinst the full package names including the
version (as reported by "pkg query "%n-%v").
Approved by: portmgr (blanket)
sysutils/ansible: Clean up the port
These parts of the port are no longer needed.
- The dependencies are all provided by sysutils/py-ansible-base.
- USES=gmake was only necessary for the test target.
- pkg-message is gone as this port no longer installs any examples.
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/ansible*: Update pkg-message
The old pkg-message was outdated and commands listed there invalid.
It's fixed now. It should be more future-proof this time.
sysutils/ansible*: Improve pkg-message
"Host database" is basically an inventory in the Ansible world.
PR: 251804
Reported by: Jan-Piet Mens <ports@jpmens.net>
sysutils/ansible: Update version 2.8.11=>2.9.7
- Create sysutils/ansible28 from sysutils/ansible
- Set EXPIRATION_DATE to 20200530 for ansible23 ansible24 ansible25 and
ansible26 as they are no longer maintained by upstream
- Bump ansible23 ansible24 ansible25 ansible26 and ansible27 for CONFLICTS
with ansible28
PR: 241734
Submitted by: ncrogers@gmail.com
Approved by: portmgr (maintainer-timeout)
ansible: switch to security/py-cryptography
For ansible >= 2.4, py-cryptography is preferred upstream.
PR: 236436
Reported by: John W. O'Brien <john@saltant.com>