cellinfo
/
ansible.apt
Archived
2
0
Fork 0
This role is NO LONGER SUPPORTED, please take a look to DebOps apt roles
This repository has been archived on 2020-11-04. You can view files and clone it, but cannot push or open issues or pull requests.
Go to file
Jeremy Gardais 0f4a1360d1 Remove the default `/etc/apt/sources.list` file. 2017-08-16 15:48:51 +02:00
defaults Remove the default `/etc/apt/sources.list` file. 2017-08-16 15:48:51 +02:00
handlers Update Apt if any repositories modifications. 2017-08-16 15:44:57 +02:00
meta Manage Stretch repositories. 2017-08-16 15:41:59 +02:00
tasks Remove the default `/etc/apt/sources.list` file. 2017-08-16 15:48:51 +02:00
tests Manage Stretch repositories. 2017-08-16 15:41:59 +02:00
.travis.yml Update Apt if any repositories modifications. 2017-08-16 15:44:57 +02:00
CHANGELOG.md Remove the default `/etc/apt/sources.list` file. 2017-08-16 15:48:51 +02:00
README.md Remove the default `/etc/apt/sources.list` file. 2017-08-16 15:48:51 +02:00

README.md

Apt

  1. Overview
  2. Role Variables
  3. Example Playbook
  4. Configuration
  5. Development
  6. License
  7. Author Information

Overview

Manage APT repos, preferences and configuration for IPR's servers.

Role Variables

  • apt_src_list_manage: If apt sources list files should be managed [default: true].
  • apt_purge_src_list_file: If the default sources.file must be absent [default: true].
  • apt_stretch_manage: If Stretch configuration should be managed [default: true].

Example Playbook

  • Use defaults vars:
- hosts: serverXYZ
  roles:
    - role: ipr-cnrs.apt

Configuration

Sources List

Manage Debian's sources.list:

  • Remove the default /etc/apt/sources.list file.
  • Add Stretch repositories.
  • Update Apt if any repositories modifications.

Development

This source code comes from our Gogs instance and the Github repo exist just to be able to send the role to Ansible Galaxy…

But feel free to send issue/PR here :)

Thanks to this hook, Github automatically got updates from our Gogs instance :)

License

WTFPL

Author Information

Jérémy Gardais