Skip to content
Snippets Groups Projects
Commit 77ab7f9d authored by Vladimír Štill's avatar Vladimír Štill
Browse files

ansible: Ensure sources.list is properly set

parent 2f2c6a27
No related branches found
No related tags found
No related merge requests found
- name: "Apt sources list"
copy:
dest: /etc/apt/sources.list
content:
deb http://ftp.fi.muni.cz/pub/linux/debian/ bullseye main contrib non-free
deb-src http://ftp.fi.muni.cz/pub/linux/debian/ bullseye main contrib non-free
deb http://security.debian.org/ bullseye-security main contrib non-free
deb-src http://security.debian.org/ bullseye-security main contrib non-free
register: apt_sources
- name: "Update apt cache after source update"
apt:
update_cache: true
when: apt_sources.changed
- name: Create /var/obj
file:
state: directory
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment