diff --git a/CHANGELOG.md b/CHANGELOG.md index cac27cd..3ac8801 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,9 @@ +## v1.0.2 + +### Fix +* Purge sources.list default file after setting up all new repositories… + ## v1.0.1 ### Fix diff --git a/README.md b/README.md index c15bf2e..884f673 100644 --- a/README.md +++ b/README.md @@ -59,8 +59,8 @@ Manage APT repos, preferences and configuration for IPR's servers. ### Sources List Manage Debian's sources.list : -* Remove the default `/etc/apt/sources.list` file. * Add Stretch repositories. +* Remove the default `/etc/apt/sources.list` file. * Update Apt if any repositories modifications. ### Preferences diff --git a/tasks/repositories.yml b/tasks/repositories.yml index d2e1c99..29fc7a4 100644 --- a/tasks/repositories.yml +++ b/tasks/repositories.yml @@ -2,14 +2,6 @@ # tasks file for repositories # Sources list -## Purge sources.list file -- name: CONFIG remove sources.list file - file: - path: /etc/apt/sources.list - state: absent - notify: aptitude update - when: apt_purge_src_list_file - ## Stretch {{{ - name: CONFIG stretch official sources.list apt_repository: @@ -32,3 +24,11 @@ notify: aptitude update when: apt_src_list_manage and apt_stretch_manage # }}} + +## Purge sources.list file +- name: CONFIG remove sources.list file + file: + path: /etc/apt/sources.list + state: absent + notify: aptitude update + when: apt_purge_src_list_file