From 69c11e4717543b9e4dd9ae75c87c5896c098f66b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gardais=20J=C3=A9r=C3=A9my?= Date: Wed, 29 Nov 2017 14:24:31 +0100 Subject: [PATCH] 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. --- CHANGELOG.md | 1 + README.md | 11 ++++++++++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7ee10dd..c6a48f2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,7 @@ ### Enhancements * Add Stretch-Security repository. +* Update README.md with example. ## v1.0.2 diff --git a/README.md b/README.md index 880d746..ae57625 100644 --- a/README.md +++ b/README.md @@ -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.