Initial ansible onboard
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
- name: Ubuntu specific tasks
|
||||
when: ansible_distribution == 'Ubuntu'
|
||||
block:
|
||||
- name: Update APT cache
|
||||
become: true
|
||||
ansible.builtin.apt:
|
||||
update_cache: yes
|
||||
cache_valid_time: 3600
|
||||
|
||||
- name: Install Dependencies
|
||||
become: true
|
||||
ansible.builtin.package:
|
||||
pkg: "python3-pip"
|
||||
state: present
|
||||
Reference in New Issue
Block a user