dzangolab.apt_update_packages

Ansible Role: Update Apt Packages

This is an Ansible role to update apt packages. The aptitude package is always installed, and the role will also perform an apt upgrade.

Requirements

You need Ansible version 1.2 or higher to use this role.

Role Variables

Here are the Ansible variables you can use, along with their default values:

apt_upgrade: safe
packages:
  - ntp
  - python3-pip
  - sudo
  - unzip
pip_executable: pip3
pip_packages: []

Example Playbook

Here's an example of how to use this role in a playbook:

---
- hosts: webservers
  roles:
      - dzangolab.apt-update-packages

License

This role is licensed under the MIT license.

Informazioni sul progetto

Update apt packages

Installa
ansible-galaxy install dzangolab.apt_update_packages
Licenza
mit
Download
242
Proprietario