string / required. Name of the package. selection. string / required. Choices: install; hold; deinstall; purge. The selection state to set the package to.
Sep 20, 2020 · Show activity on this post. I'm writing my k8s upgrade ansible playbook, and within that I need to do apt-mark unhold kubeadm. Now, I am trying to avoid using the ansible command or shell module to call apt if possible, but the apt hold/unhold command does not seem to be supported by neither package nor apt modules.
19.09.2020 · Show activity on this post. I'm writing my k8s upgrade ansible playbook, and within that I need to do apt-mark unhold kubeadm. Now, I am trying to avoid using the ansible command or shell module to call apt if possible, but the apt hold/unhold command does not seem to be supported by neither package nor apt modules.
29.09.2014 · Summary from ansible/ansible#8060. Support apt-mark hold/unhold to mark a package as ineligible for automatic updates. Otherwise, ansible can install a particular version of a package, only to see it blown away with a more recent one later.
29.09.2014 · ansible 1.4 doesn't appear to do that, but maybe it's changed in later version. Actual Results: Currently no obvious ansible way to mark a package as held. Workaround: use shell to run "apt-mark hold ". But this will be run on every ansible …
Dec 21, 2021 · This module is part of ansible-core and included in all Ansible installations. In most cases, you can use the short module name apt even without specifying the collections: keyword. However, we recommend you use the FQCN for easy linking to the module documentation and to avoid conflicting with other collections that may have the same module name.
Aug 05, 2020 · Pass the hold option to the apt-mark command as follows to mark a package as held back, which will prevent the package from being automatically installed, upgraded or removed: $ sudo apt-mark hold package-name $ sudo apt-mark hold mariadb-server. mariadb-server set on hold. Step 3 – Display a list of packages on hold. Let us print a list of ...
08.07.2014 · Ansible Version: ansible 1.4 (but current documentation suggests it's not available in latest either) Environment: Debian/Ubuntu. Summary: Support apt-mark hold/unhold to mark a package as ineligible for automatic updates. Otherwise, ansible can install a particular version of a package, only to see it blown away with a more recent one later.
Sep 29, 2014 · ansible 1.4 doesn't appear to do that, but maybe it's changed in later version. Actual Results: Currently no obvious ansible way to mark a package as held. Workaround: use shell to run "apt-mark hold ". But this will be run on every ansible run, and relies on apt-mark itself being idempotent.
Sep 29, 2014 · ansible 1.4 doesn't appear to do that, but maybe it's changed in later version. Actual Results: Currently no obvious ansible way to mark a package as held. Workaround: use shell to run "apt-mark hold ". But this will be run on every ansible run, and relies on apt-mark itself being idempotent.
Ansible is a radically simple IT automation platform that makes your applications and systems easier to deploy and maintain. Automate everything from code deployment to network configuration to cloud management, in a language that approaches plain English, using SSH, with no agents to install on remote systems. https://docs.ansible.com. - ansible/ansible