mirror of
https://github.com/roles-ansible/ansible_collection_pretix.git
synced 2024-10-28 22:01:03 +01:00
15 lines
351 B
YAML
15 lines
351 B
YAML
---
|
|
- name: Update apt repo-cache on debian/ubuntu hosts
|
|
become: true
|
|
ansible.builtin.apt:
|
|
update_cache: true
|
|
cache_valid_time: 3600
|
|
when:
|
|
- ansible_pkg_mgr == "apt"
|
|
|
|
- name: Install Required packages
|
|
become: true
|
|
ansible.builtin.package:
|
|
name: "{{ item }}"
|
|
state: 'present'
|
|
loop: "{{ pretix__packages | flatten(1) }}"
|