cellinfo
/
ansible.apt
Archived
2
0
Fork 0

Add a example howto to use the role for installation with X session.

Cause by default the tasksel* packages are removed, so it can also
remove desktop environment.
This commit is contained in:
Jeremy Gardais 2017-11-29 14:24:31 +01:00
parent f3c78bacc4
commit 69c11e4717
2 changed files with 11 additions and 1 deletions

View File

@ -3,6 +3,7 @@
### Enhancements
* Add Stretch-Security repository.
* Update README.md with example.
## v1.0.2

View File

@ -47,6 +47,15 @@ Manage APT repos, preferences and configuration for IPR's servers.
- role: ipr-cnrs.apt
```
* For a system with an X session, you may let the old packages unmanaged:
``` yml
- hosts: serverXYZ
roles:
- role: ipr-cnrs.apt
apt_old_pkg_manage: false
```
## Configuration
### APT Configuration
@ -59,7 +68,7 @@ Manage APT repos, preferences and configuration for IPR's servers.
### Sources List
Manage Debian's sources.list:
* Add Stretch repositories (official, security and backports).
* Add Stretch repositories (main, security and backports).
* Remove the default `/etc/apt/sources.list` file.
* Update Apt if any repositories modifications.