mirror of
https://github.com/roles-ansible/ansible_collection_pretix.git
synced 2024-10-28 22:01:03 +01:00
20 lines
408 B
YAML
20 lines
408 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: 'nodejs'
|
||
|
state: 'present'
|