diff --git a/install_default_packages.yml b/install_default_packages.yml new file mode 100644 index 0000000..248499d --- /dev/null +++ b/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"] \ No newline at end of file diff --git a/install_htop.yml b/install_htop.yml new file mode 100644 index 0000000..77190ed --- /dev/null +++ b/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 \ No newline at end of file diff --git a/upgrade.yml b/upgrade.yml new file mode 100644 index 0000000..0eca070 --- /dev/null +++ b/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"] \ No newline at end of file