17 lines
471 B
YAML
17 lines
471 B
YAML
|
# Distribution_Release wird mit {{ansible_distribution_release}} gesetzt
|
||
|
# deb http://{{ acng_server }}:{{ acng_server_port }}/security.ubuntu.com/ubuntu {{ansible_distribution_release}}-security multiverse
|
||
|
- name: sources.list kopieren
|
||
|
become: yes
|
||
|
template:
|
||
|
src: "sources.list"
|
||
|
dest: "/etc/apt/sources.list"
|
||
|
backup: yes
|
||
|
register: copy_src
|
||
|
|
||
|
|
||
|
- name: apt_update
|
||
|
become: yes
|
||
|
apt:
|
||
|
update_cache: yes
|
||
|
when: copy_src.changed
|