1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/plugins/modules/packaging/os
patchback[bot] c1a6feaf25
[pkgng] present the 'ignore_osver' option to pkg (#1243) (#1321)
* [pkgng] introduce IGNORE_OSVERSION to pkgng

* [pkgng] add small description about IGNORE_OSVERSION
  - source: https://www.freebsd.org/cgi/man.cgi?query=pkg.conf&sektion=5

* [pkgng] initialize default value of 'ignoreosver' as False

* [pkgng] replace double quotes by single ones, when setting 'ignoreosver'

* [pkgng] do not make 'ignoreosver' a required option for this module

* [pkgng] mode the point we set IGNORE_OSVER into install_packages()

* [pkgng] restrict the use of 'ignoreosver' to pkg versions >= 1.11
  - https://github.com/freebsd/pkg/blob/release-1.11/NEWS#L51

* [pkgng] value of 'ignoreosver' passed to install_packages

  - install_packages() contains a taks to update local pkgs cache;
  - should that update be triggered, AND 'ignoreosver' is set to True,
    we must change existing "batch_var" and add the IGNORE_OSVERSION=yes
    to the environment;
  - there pkg running on STABLE or CURRENT FreeBSD machines will have a
    chance to proceed with the "update" action

* [pkgng] create option description for "ignoreosver" and its defaults

* [pkgng] make sure we do use IGNORE_OSVERSION when action is "update"

* [pkgng] add more information on how 'ignoreosver' works

Signed-off-by: Vinicius Zavam <egypcio@googlemail.com>

* [pkgng] create changelog fragment for PR #1243

Signed-off-by: Vinicius Zavam <egypcio@googlemail.com>

* [pkgng] add information about when we start to offer 'ignoreosver'

Signed-off-by: Vinicius Zavam <egypcio@googlemail.com>

* [pkgng] rename 'ignoreosver' -> 'ignore_osver'

Signed-off-by: Vinicius Zavam <egypcio@googlemail.com>

* [pkgng] remove unnecessary backslashes for install_packages() call

Signed-off-by: Vinicius Zavam <egypcio@googlemail.com>

* [pkgng] fix changelog fragment's formating

Signed-off-by: Vinicius Zavam <egypcio@googlemail.com>
(cherry picked from commit d95910963b)

Co-authored-by: Vinícius Zavam <egypcio@users.noreply.github.com>
2020-11-17 07:37:00 +01:00
..
apk.py Tidy up validate-modules ignores for packaging modules (#1289) (#1291) 2020-11-13 14:04:53 +01:00
apt_repo.py modules: fix examples to use FQCN (#644) 2020-07-13 21:50:31 +02:00
apt_rpm.py Tidy up validate-modules ignores for packaging modules (#1289) (#1291) 2020-11-13 14:04:53 +01:00
flatpak.py modules: fix examples to use FQCN (#644) 2020-07-13 21:50:31 +02:00
flatpak_remote.py modules: fix examples to use FQCN (#644) 2020-07-13 21:50:31 +02:00
homebrew.py Resolve homebrew and homebrew_cask package name validation issues (#1038) (#1188) 2020-10-28 06:46:35 +01:00
homebrew_cask.py Resolve homebrew and homebrew_cask package name validation issues (#1038) (#1188) 2020-10-28 06:46:35 +01:00
homebrew_tap.py modules: fix examples to use FQCN (#644) 2020-07-13 21:50:31 +02:00
installp.py modules: fix examples to use FQCN (#644) 2020-07-13 21:50:31 +02:00
layman.py modules: fix examples to use FQCN (#644) 2020-07-13 21:50:31 +02:00
macports.py Tidy up validate-modules ignores for packaging modules (#1289) (#1291) 2020-11-13 14:04:53 +01:00
mas.py modules: fix examples to use FQCN (#644) 2020-07-13 21:50:31 +02:00
openbsd_pkg.py Tidy up validate-modules ignores for packaging modules (#1289) (#1291) 2020-11-13 14:04:53 +01:00
opkg.py Tidy up validate-modules ignores for packaging modules (#1289) (#1291) 2020-11-13 14:04:53 +01:00
pacman.py Tidy up validate-modules ignores for packaging modules (#1289) (#1291) 2020-11-13 14:04:53 +01:00
pkg5.py Tidy up validate-modules ignores for packaging modules (#1289) (#1291) 2020-11-13 14:04:53 +01:00
pkg5_publisher.py modules: fix examples to use FQCN (#644) 2020-07-13 21:50:31 +02:00
pkgin.py modules: fix examples to use FQCN (#644) 2020-07-13 21:50:31 +02:00
pkgng.py [pkgng] present the 'ignore_osver' option to pkg (#1243) (#1321) 2020-11-17 07:37:00 +01:00
pkgutil.py pkgutil: add update all, check-mode, squashing and examples (#799) (#1009) 2020-09-30 06:57:10 +02:00
portage.py Add getbinpkgonly (-G) to portage (#1169) (#1182) 2020-10-26 21:08:04 +01:00
portinstall.py modules: fix examples to use FQCN (#644) 2020-07-13 21:50:31 +02:00
pulp_repo.py modules: fix examples to use FQCN (#644) 2020-07-13 21:50:31 +02:00
redhat_subscription.py modules: fix examples to use FQCN (#644) 2020-07-13 21:50:31 +02:00
rhn_channel.py Tidy up validate-modules ignores for packaging modules (#1289) (#1291) 2020-11-13 14:04:53 +01:00
rhn_register.py modules: fix examples to use FQCN (#644) 2020-07-13 21:50:31 +02:00
rhsm_release.py modules: fix examples to use FQCN (#644) 2020-07-13 21:50:31 +02:00
rhsm_repository.py modules: fix examples to use FQCN (#644) 2020-07-13 21:50:31 +02:00
slackpkg.py Tidy up validate-modules ignores for packaging modules (#1289) (#1291) 2020-11-13 14:04:53 +01:00
snap.py modules: fix examples to use FQCN (#644) 2020-07-13 21:50:31 +02:00
sorcery.py modules: fix examples to use FQCN (#644) 2020-07-13 21:50:31 +02:00
svr4pkg.py modules: fix examples to use FQCN (#644) 2020-07-13 21:50:31 +02:00
swdepot.py modules: fix examples to use FQCN (#644) 2020-07-13 21:50:31 +02:00
swupd.py modules: fix examples to use FQCN (#644) 2020-07-13 21:50:31 +02:00
urpmi.py Tidy up validate-modules ignores for packaging modules (#1289) (#1291) 2020-11-13 14:04:53 +01:00
xbps.py Tidy up validate-modules ignores for packaging modules (#1289) (#1291) 2020-11-13 14:04:53 +01:00
zypper.py Tidy up validate-modules ignores for packaging modules (#1289) (#1291) 2020-11-13 14:04:53 +01:00
zypper_repository.py zypper_repository: Proper failure when python-xml is missing (#939) (#940) 2020-09-21 13:56:37 +02:00