From 0c88cfb7c2cc3f3fdfe183c4a3316d972208b6c5 Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Fri, 25 Jan 2019 12:43:54 +0100 Subject: [PATCH] add missing package managers to check_install_use_latest --- ansiblelater/rules/ansiblefiles.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ansiblelater/rules/ansiblefiles.py b/ansiblelater/rules/ansiblefiles.py index 2593cdc..ffd17cb 100644 --- a/ansiblelater/rules/ansiblefiles.py +++ b/ansiblelater/rules/ansiblefiles.py @@ -114,7 +114,8 @@ def check_install_use_latest(candidate, settings): tasks, errors = get_normalized_tasks(candidate, settings) package_managers = ['yum', 'apt', 'dnf', 'homebrew', 'pacman', 'openbsd_package', 'pkg5', 'portage', 'pkgutil', 'slackpkg', 'swdepot', 'zypper', 'bundler', 'pip', - 'pear', 'npm', 'gem', 'easy_install', 'bower', 'package'] + 'pear', 'npm', 'yarn', 'gem', 'easy_install', 'bower', 'package', 'apk', + 'openbsd_pkg', 'pkgng', 'sorcery', 'xbps'] description = "package installs should use state=present with or without a version" if not errors: