27 lines
622 B
YAML
27 lines
622 B
YAML
- name: Install basic features
|
|
hosts: nextcloud
|
|
become: true
|
|
|
|
tasks:
|
|
- name: Update apt
|
|
ansible.builtin.apt:
|
|
update_cache: true
|
|
cache_valid_time: 3600
|
|
|
|
- name: Install net-tools
|
|
ansible.builtin.apt:
|
|
name: net-tools
|
|
state: present
|
|
|
|
- name: Install neofetch or fastfetch
|
|
block:
|
|
- name: Install neofetch
|
|
ansible.builtin.apt:
|
|
name: neofetch
|
|
state: present
|
|
|
|
rescue:
|
|
- name: If neofetch is depricated install fastfetch
|
|
ansible.builtin.apt:
|
|
name: fastfetch
|
|
state: present |