73 Commits

Author SHA1 Message Date
jasper
30eb2f8ecc vmm detection merged upstream 2016-11-04 10:45:38 +00:00
jasper
268e6c92d9 update to ansible 2.2.0.0
- https://groups.google.com/forum/#!topic/ansible-announce/cLN64qQ_yoo
- https://www.ansible.com/blog/ansible-network-updates
2016-11-02 09:07:02 +00:00
jasper
a618913b48 dmi facts merged upstream 2016-11-01 20:43:14 +00:00
jasper
4e395395db submitted upstream 2016-11-01 09:44:46 +00:00
jasper
7bcb8c2b7d simplify resolution of ansible_processor by using hw.model and hw.ncpu.
previously /var/run/dmesg.boot or dmesg(8) would be parsed however that could
lead to bogus values (e.g. the full "Enhanced SpeedStep" line) if the buffer
contained multiple (partial) dmesgs
2016-10-31 17:50:44 +00:00
jasper
9bcc7dcc21 swap the values of the distribution_release and distribution_version facts
this is more in line with other platforms where the version fact is a numerical
value and the release an identification string:

    "ansible_facts": {
        "ansible_distribution": "OpenBSD",
        "ansible_distribution_release": "current",
        "ansible_distribution_version": "6.0"
    },
2016-10-31 17:23:13 +00:00
jasper
f3e45f9020 - Enable VMM detection
- Drop processor_cores fact with bogus value (hardcoded 'NA')
- Implement DMI facts (product_name, product_version, product_uuid,
  product_serial and system_vendor)
2016-10-31 17:10:58 +00:00
jasper
07f3bc5226 - sync OpenBSDVirtual with what's been merged upstream
- implement virtualization_type and virtualization_role for vmm
2016-10-31 17:03:35 +00:00
jasper
ba8e687935 sync with upstream git master, fixes package installation issues
reported by semarie
ok danj@
2016-10-22 17:31:44 +00:00
jasper
4ec0e32d38 ${PREFIX}/man is already created by mtree, no need to re-mkdir it 2016-10-15 09:04:36 +00:00
jasper
4b8e042efb - use sed instead of perl
- simplify post-install
2016-10-15 09:03:05 +00:00
jasper
2a72fded45 - drop py-paramiko dependency which most people don't need
- add README mentioning the optional dependencies for ansible's modules/scripts

input from aja@ rpe@
2016-10-15 08:51:08 +00:00
jasper
20eb64f79f patrik's patch was merged 2016-10-15 08:33:52 +00:00
jasper
dde3eb2d64 drop RDEP on py-httplib2. various modules switch to ansible.module_utils.urls
with ansible 2.1. only the dynamic inventory script for rudder depends on it.
2016-10-14 12:51:15 +00:00
jasper
b6103b8e41 fix issue with openbsd_pkg module where using the branch notation
(e.g. autoconf%2.13) would lead to tasks being (incorrectly) reported
as FAILED.

reported by Caspar Schutijser
fix by Patrik Lundin
2016-10-14 12:34:03 +00:00
jasper
1256221ca9 remove (undocumented) local modification of the 'copy that appends '\n' to
'content' if it didn't contain it yet.

while there have been various (stalled) attempts to get this upstream, i'd
rather not alter ansible's behaviour in ports as it would lead to non-portable
playbooks between openbsd and non-openbsd control nodes.

ok aja@ rpe@
also discussed with Patrik Lundin
2016-10-14 12:27:39 +00:00
jasper
d80314dfc3 update to ansible-2.1.2.0 2016-09-30 20:12:59 +00:00
jasper
4d63fedafc regen patch 2016-09-06 11:55:15 +00:00
jasper
2b569c1691 take maintainer
suggested by and ok rpe@ (previous MAINTAINER)
2016-09-06 11:40:22 +00:00
jasper
9de5cef645 sync with what's been committed upstream
from Patrik Lundin
2016-08-30 11:29:06 +00:00
jasper
57b96d259c populate ansible_virtualization_{role,type} facts
tested by awolk@ jung@ and sthen@ on a variety of hypervisors
ok rpe@ (MAINTAINER)
2016-08-22 09:05:46 +00:00
rpe
e339217ced Update sysutils/ansible to 2.1.1.0
Mostly a bugfix release with some minor changes, for details see:
https://github.com/ansible/ansible/blob/v2.1.1.0-1/CHANGELOG.md

A now fixed bug pointed out by Frank Groeneveld was that by using
the cron modules user argument might result in the root users crontab
being cleared.

OK aja@
2016-08-21 13:45:46 +00:00
rpe
0d9bc384c5 Update sysutils/ansible to 2.1.0.0
For changes see:
https://github.com/ansible/ansible/blob/v2.1.0.0-1/CHANGELOG.md

OK aja, jasper, landry
2016-05-27 13:54:49 +00:00
rpe
9198aa04dc Update sysutils/ansible to 2.0.2.0
OK aja@
2016-04-25 10:04:50 +00:00
jasper
b2953550c6 update to ansible-2.0.1.0
https://groups.google.com/forum/#!topic/ansible-announce/kF5kXiJO7kQ

ok aja@ rpe@ (MAINTAINER)
2016-02-27 15:37:50 +00:00
rpe
a8b9bd547a update sysutils/ansible to 2.0.0.2
- has a work around for callback API change for v2_playbook_on_start

OK sthen@, aja@
2016-02-05 12:54:19 +00:00
rpe
835dcb9615 Update sysutils/ansible to 2.0.0.1
diff from Frank Groeneveld, thanks
feedback from sthen, aja
OK sthen@, kirby@
2016-01-15 18:34:34 +00:00
rpe
a6d39eba06 Update sysutils/ansible to 1.9.4
OK aja@
2015-10-25 15:23:03 +00:00
rpe
7b2376fd3d Update sysutils/ansible to 1.9.3
For changes in this release see:
https://github.com/ansible/ansible/blob/v1.9.3-1/CHANGELOG.md

OK sthen@
2015-09-29 17:30:39 +00:00
sthen
ee57a78901 bump REVISION for setuptools dep change. 2015-09-29 10:52:28 +00:00
rpe
1ba8b9b856 Update sysutils/ansible to 1.9.2.
- Security fixes to check that hostnames match certificates with
  https urls (CVE-2015-3908)
  - get_url and uri modules
  - url and etcd lookup plugins

- Security fixes to the zone (Solaris containers), jail (bsd
  containers), and chroot connection plugins.

For a full list of changes see:
https://github.com/ansible/ansible/blob/v1.9.2-1/CHANGELOG.md

OK aja@
2015-07-01 21:26:38 +00:00
rpe
8fcf13ed96 Update sysutils/ansible to 1.9.1, which is mostly a bugfix release.
OK aja@
2015-05-03 12:56:55 +00:00
rpe
291639e784 Update sysutils/ansible to 1.9.0.1
OK aja@, sthen@
2015-03-31 19:09:28 +00:00
rpe
eb33f29fc2 Update sysutils/ansible to 1.8.4
- including a security fix for ansible-vault
- and various other bugfixes

OK naddy@ sthen@ landry@ aja@
2015-02-22 16:49:40 +00:00
rpe
bfb9d59e7b Update OpenBSD rcctl handling to use new syntax.
Special thanks to Patrik Lundin for the coding
and armani@ for helping to bring this upstream.

https://github.com/ansible/ansible-modules-core/pull/691

prodded+tested by and OK aja@
2015-01-24 00:45:45 +00:00
rpe
e37d8e62ba Patch ansible-doc to ignore VERSIONS files in modules directories.
This avoids a python traceback. Pull request upstream pending.

noted by and OK ajacoutot@ (landry@)
2015-01-22 19:57:41 +00:00
rpe
1881adc15f Update ansible to 1.8.2
For changes see
https://github.com/ansible/ansible/blob/v1.8.2/CHANGELOG.md

OK aja@ sthen@ landry@
2014-12-06 11:32:56 +00:00
rpe
02c550017b Backport bugfix "Bug sysctl on OpenBSD #287"
https://github.com/ansible/ansible-modules-core/issues/287

Patch from Martijn Rijkeboer
OK sthen@
2014-11-11 21:36:16 +00:00
sthen
508cced621 Set ansible_architecture correctly on machines where arch -s != uname -m,
it's quite useful for building pkg.conf amongst other things.  ok rpe@
2014-10-30 19:17:52 +00:00
rpe
96cd3a4b9d Update ansible to 1.7.2
OK aja@
2014-09-29 19:38:00 +00:00
landry
6e834165fb Use -z when invoking pkg_add in openbsd_pkg module, so that one can use
for example php-fpm-5.4* and ensure the correct version is installed.
Previously, one had to specify the exact version, or ansible would fail
since there were alternatives.

https://github.com/ansible/ansible/issues/8990

ok rpe@
2014-09-12 20:46:46 +00:00
rpe
411b5e69c5 Patch ansible copy.py to write new line at end of file
if 'content' passed without newline.

suggested and OK landry@
2014-09-10 20:21:43 +00:00
rpe
0a0c357bb4 Update ansible to 1.7.1
Besides performance enhancements and other bug fixes:

- Security fix to disallow specifying 'args:' as a string, which
  could allow the insertion of extra module parameters through
  variables.

OK aja@ sthen@
2014-08-24 08:46:42 +00:00
rpe
9238f0d9ec Update ansible to 1.7
For fixes, new features and improvments see:
https://github.com/ansible/ansible/blob/release1.7.0/CHANGELOG.md

OK aja@
2014-08-11 20:56:15 +00:00
rpe
1881b636f9 Update ansible to 1.6.7 which fixes these CVEs:
- CVE-2014-4966 (lookup function)
- CVE-2014-4967 (action arguments)

Noted by and OK jasper@
OK naddy@
2014-07-23 20:28:49 +00:00
rpe
0dc8b3fbbe Yet another security related update for ansible to 1.6.6 pointed out by
Jasper.

- Security updates to further protect against the incorrect execution
  of untrusted data

OK sthen@ aja@
2014-07-01 23:24:37 +00:00
ajacoutot
eb3f72c25a SECURITY update to ansible-1.6.5.
https://groups.google.com/forum/#!topic/ansible-announce/A1px5egCnGQ

ok sthen@ jasper@
2014-06-26 12:48:46 +00:00
rpe
207f2ad091 Update ansible to 1.6.2
OK aja@ landry@
2014-05-26 20:09:54 +00:00
rpe
8d96841b39 Update to ansible 1.6.1
Too many new modules, features and fixes to list here, see:
https://github.com/ansible/ansible/blob/release1.6.1/CHANGELOG.md

OK aja@ landry@
2014-05-12 20:17:16 +00:00
rpe
f90b84634d Update ansible to 1.5.5
- Security fix for vault, to ensure the umask is set to a restrictive
  mode before creating/editing vault files.
- Backported apt_repository security fixes relating to filename/mode
  upon sources list file creation.

OK sthen@
2014-04-25 20:35:23 +00:00