SimpliField.packages

Install Ubuntu/Debian Packages

This guide explains how to set up packages for Ubuntu or Debian.

Requirements

  • You need Ansible version 2 or higher.

Role Variables

  • packages_update_cache: This setting determines if the APT cache should be updated. The default is no.
  • packages_cache_valid_time: This specifies how long the APT cache is considered valid. The default time is 3600 seconds (1 hour).

Dependencies

No dependencies are required.

Example Playbook

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

- hosts: servers
  roles:
   - { role: SimpliField.packages, packages: [git] }
   - { role: SimpliField.packages, packages: [pymongo], packages_update_cache: true }

License

This project is licensed under BSD.

Informazioni sul progetto

Install debian/ubuntu packages

Installa
ansible-galaxy install SimpliField.packages
Licenza
Unknown
Download
24.6k
Proprietario