Moved playbooks into playbook folder
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
- name: Install basic features
|
||||
hosts: ansible_master
|
||||
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
|
||||
Reference in New Issue
Block a user