cellinfo
/
ansible.apt
Archived
2
0
Fork 0

Fix tasks name.

This commit is contained in:
Jeremy Gardais 2017-11-29 14:45:38 +01:00
parent 7593a2c5a5
commit 689c27fef6
3 changed files with 6 additions and 5 deletions

View File

@ -5,6 +5,7 @@
* Add Stretch-Security repository. * Add Stretch-Security repository.
* Update README.md with example. * Update README.md with example.
* Rename apt_old_* to apt_unwanted_* vars. * Rename apt_old_* to apt_unwanted_* vars.
* Fix tasks name.
## v1.0.2 ## v1.0.2

View File

@ -2,7 +2,7 @@
# task file for preferences # task file for preferences
# Default preferences file # Default preferences file
- name: CONFIG default preferences - name: PREF default preferences file
template: template:
src: '{{ apt_default_pref_tpl }}' src: '{{ apt_default_pref_tpl }}'
dest: '{{ apt_default_pref_path }}' dest: '{{ apt_default_pref_path }}'

View File

@ -3,7 +3,7 @@
# Sources list # Sources list
## Stretch {{{ ## Stretch {{{
- name: CONFIG stretch official sources.list - name: REPOS stretch official sources.list
apt_repository: apt_repository:
repo: "{{ item }} http://httpredir.debian.org/debian/ stretch main contrib non-free" repo: "{{ item }} http://httpredir.debian.org/debian/ stretch main contrib non-free"
filename: stretch filename: stretch
@ -14,7 +14,7 @@
notify: aptitude update notify: aptitude update
when: apt_src_list_manage and apt_stretch_manage when: apt_src_list_manage and apt_stretch_manage
- name: CONFIG stretch security sources.list - name: REPOS stretch security sources.list
apt_repository: apt_repository:
repo: "{{ item }} http://httpredir.debian.org/debian-security/ stretch/updates main contrib non-free" repo: "{{ item }} http://httpredir.debian.org/debian-security/ stretch/updates main contrib non-free"
filename: stretch.security filename: stretch.security
@ -25,7 +25,7 @@
notify: aptitude update notify: aptitude update
when: apt_src_list_manage and apt_stretch_manage when: apt_src_list_manage and apt_stretch_manage
- name: CONFIG stretch backports sources.list - name: REPOS stretch backports sources.list
apt_repository: apt_repository:
repo: "deb http://httpredir.debian.org/debian/ stretch-{{ item }} main contrib non-free" repo: "deb http://httpredir.debian.org/debian/ stretch-{{ item }} main contrib non-free"
filename: stretch.bpo filename: stretch.bpo
@ -37,7 +37,7 @@
# }}} # }}}
## Purge sources.list file ## Purge sources.list file
- name: CONFIG remove sources.list file - name: REPOS remove sources.list file
file: file:
path: /etc/apt/sources.list path: /etc/apt/sources.list
state: absent state: absent