You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
615 B
29 lines
615 B
---
|
|
- name: Config repos
|
|
ansible.builtin.copy:
|
|
src: repositories
|
|
dest: /etc/apk/
|
|
owner: root
|
|
group: root
|
|
mode: '0644'
|
|
backup: true
|
|
|
|
- name: Update repositories
|
|
community.general.apk:
|
|
update_cache: true
|
|
|
|
- name: Update all installed packages to the latest versions
|
|
community.general.apk:
|
|
upgrade: yes
|
|
|
|
- name: Install system packages
|
|
community.general.apk:
|
|
name: "{{ system_pkgs }}"
|
|
state: present
|
|
when: not ansible_check_mode
|
|
|
|
- name: Install minecraft packages
|
|
community.general.apk:
|
|
name: "{{ mine_pkgs }}"
|
|
state: present
|
|
when: not ansible_check_mode
|
|
|