hyperized.package
hyperized.package
Ubuntu APT package
Requirements
It is recommended to use Ansible version 2.5 or higher.
Role Variables
package_state
: Specifies the desired state of the package (e.g., installed).package_name
: The name of the package you want to manage (e.g., yourpackage).package_cache_valid_time
: How long to keep the apt cache valid (default is 3600 seconds, can be changed byapt_cache_valid_time
).package_delay
: The delay in seconds before retrying (default is 5 seconds).package_max_retries
: The maximum number of times to retry if the package operation fails (default is 3).
Dependencies
There are no dependencies.
Example Playbook
- hosts: all
become: yes
roles:
- role: hyperized.package
package_name: htop
License
This package is licensed under the MIT License.
Author Information
Created by Gerben Geijteman, you can reach him at gerben@hyperized.net.