mirror of
https://github.com/roles-ansible/ansible_collection_pretix.git
synced 2024-10-28 22:01:03 +01:00
19 lines
414 B
YAML
19 lines
414 B
YAML
---
|
|
- name: Run simple versionscheck (optional)
|
|
ansible.builtin.include_tasks:
|
|
file: 'versioncheck.yml'
|
|
when: submodules_versioncheck | bool
|
|
|
|
- name: Update apt
|
|
become: true
|
|
ansible.builtin.apt:
|
|
update_cache: true
|
|
cache_valid_time: 3600
|
|
when:
|
|
- ansible_pkg_mgr == "apt"
|
|
|
|
- name: Install redis-server
|
|
become: true
|
|
ansible.builtin.package:
|
|
name: 'redis-server'
|
|
state: 'present'
|