Browse Source

Initial Repo Setup

main
Roman Schiwy 4 years ago
parent
commit
b3e15a8db6
  1. 14
      install_default_packages.yml
  2. 13
      install_htop.yml
  3. 12
      upgrade.yml

14
install_default_packages.yml

@ -0,0 +1,14 @@
---
- hosts: localhost
connection: local
become: true
pre_tasks:
- name: install updates (Ubuntu/Debian)
package:
name:
- python3
state: latest
update_cache: yes
when: ansible_distribution in ["Ubuntu", "Debian"]

13
install_htop.yml

@ -0,0 +1,13 @@
---
- hosts: localhost
connection: local
become: true
tasks:
- name: install htop
package:
name:
- htop
state: latest
update_cache: yes

12
upgrade.yml

@ -0,0 +1,12 @@
---
- hosts: localhost
connection: local
become: true
pre_tasks:
- name: install updates (Ubuntu/Debian)
apt:
upgrade: dist
update_cache: yes
when: ansible_distribution in ["Ubuntu", "Debian"]
Loading…
Cancel
Save