Purge sources.list default file after setting up all new repositories…
This commit is contained in:
parent
33ff5d9804
commit
153df0cde8
|
@ -1,4 +1,9 @@
|
||||||
|
|
||||||
|
## v1.0.2
|
||||||
|
|
||||||
|
### Fix
|
||||||
|
* Purge sources.list default file after setting up all new repositories…
|
||||||
|
|
||||||
## v1.0.1
|
## v1.0.1
|
||||||
|
|
||||||
### Fix
|
### Fix
|
||||||
|
|
|
@ -59,8 +59,8 @@ Manage APT repos, preferences and configuration for IPR's servers.
|
||||||
|
|
||||||
### Sources List
|
### Sources List
|
||||||
Manage Debian's sources.list :
|
Manage Debian's sources.list :
|
||||||
* Remove the default `/etc/apt/sources.list` file.
|
|
||||||
* Add Stretch repositories.
|
* Add Stretch repositories.
|
||||||
|
* Remove the default `/etc/apt/sources.list` file.
|
||||||
* Update Apt if any repositories modifications.
|
* Update Apt if any repositories modifications.
|
||||||
|
|
||||||
### Preferences
|
### Preferences
|
||||||
|
|
|
@ -2,14 +2,6 @@
|
||||||
# tasks file for repositories
|
# tasks file for repositories
|
||||||
|
|
||||||
# Sources list
|
# 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 {{{
|
## Stretch {{{
|
||||||
- name: CONFIG stretch official sources.list
|
- name: CONFIG stretch official sources.list
|
||||||
apt_repository:
|
apt_repository:
|
||||||
|
@ -32,3 +24,11 @@
|
||||||
notify: aptitude update
|
notify: aptitude update
|
||||||
when: apt_src_list_manage and apt_stretch_manage
|
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
|
||||||
|
|
Reference in New Issue