Here's an update to Ansible 2.9.13, plus I've patched so that it can
find Python 3 on OpenBSD under the usual paths without defining
ansible_python_interpreter (since I keep bumping into it now we're
using 3.8 by default)..

https://github.com/ansible/ansible/blob/stable-2.9/changelogs/CHANGELOG-v2.9.rst#v2-9-13

Working in my relatively simple installation, any comments/tests from
others?

OK?

Index: Makefile
===================================================================
RCS file: /cvs/ports/sysutils/ansible/Makefile,v
retrieving revision 1.127
diff -u -p -r1.127 Makefile
--- Makefile    16 Aug 2020 09:13:00 -0000      1.127
+++ Makefile    8 Sep 2020 15:58:15 -0000
@@ -3,7 +3,7 @@
 COMMENT-main =         ssh based config management framework
 COMMENT-html =         offline Ansible documentation in HTML format
 
-MODPY_EGG_VERSION =    2.9.12
+MODPY_EGG_VERSION =    2.9.13
 DISTNAME =             ansible-${MODPY_EGG_VERSION}
 PKGNAME-main =         ${PKGNAME}
 PKGNAME-html =         ansible-html-${MODPY_EGG_VERSION}
Index: distinfo
===================================================================
RCS file: /cvs/ports/sysutils/ansible/distinfo,v
retrieving revision 1.82
diff -u -p -r1.82 distinfo
--- distinfo    16 Aug 2020 09:13:00 -0000      1.82
+++ distinfo    8 Sep 2020 15:58:15 -0000
@@ -1,2 +1,2 @@
-SHA256 (ansible-2.9.12.tar.gz) = fpXd9xkZCwaPr8fXx4d8IYBUzF2k9tnXlPr3vGbat3Q=
-SIZE (ansible-2.9.12.tar.gz) = 14260349
+SHA256 (ansible-2.9.13.tar.gz) = OrIViJkvv+neMXOu/WPaEmfcEokqYPXP3AVf4ZxUlkQ=
+SIZE (ansible-2.9.13.tar.gz) = 14261322
Index: patches/patch-lib_ansible_config_base_yml
===================================================================
RCS file: patches/patch-lib_ansible_config_base_yml
diff -N patches/patch-lib_ansible_config_base_yml
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ patches/patch-lib_ansible_config_base_yml   8 Sep 2020 15:58:15 -0000
@@ -0,0 +1,21 @@
+$OpenBSD$
+
+Index: lib/ansible/config/base.yml
+--- lib/ansible/config/base.yml.orig
++++ lib/ansible/config/base.yml
+@@ -1469,6 +1469,7 @@ INTERPRETER_PYTHON_FALLBACK:
+   name: Ordered list of Python interpreters to check for in discovery
+   default:
+   - /usr/bin/python
++  - python3.8
+   - python3.7
+   - python3.6
+   - python3.5
+@@ -1476,6 +1477,7 @@ INTERPRETER_PYTHON_FALLBACK:
+   - python2.6
+   - /usr/libexec/platform-python
+   - /usr/bin/python3
++  - python3
+   - python
+   # FUTURE: add inventory override once we're sure it can't be abused by a 
rogue target
+   version_added: "2.8"

Reply via email to