15d783de86
* template --> ansible.builtin.template * apt --> ansible.builtin.apt * lineinfile --> ansible.builtin.lineinfile * file --> ansible.builtin.file * blockinfile --> ansible.builtin.blockinfile * cron --> ansible.builtin.cron * timezone --> ansible.builtin.timezone * get_url --> ansible.builtin.get_url * group --> ansible.builtin.group * user --> ansible.builtin.user * unarchive --> ansible.builtin.unarchive * service --> ansible.builtin.service * apache2_module --> ansible.builtin.apache2_module * package --> ansible.builtin.apt * template --> ansible.builtin.template 2
16 lines
518 B
YAML
16 lines
518 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
|
|
ansible.builtin.template:
|
|
src: "sources.list"
|
|
dest: "/etc/apt/sources.list"
|
|
backup: yes
|
|
register: copy_src
|
|
|
|
|
|
- name: apt_update # noqa 503 503
|
|
become: yes
|
|
ansible.builtin.apt:
|
|
update_cache: yes
|
|
when: copy_src.changed
|