3 changed files with 39 additions and 0 deletions
@ -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"] |
||||
@ -0,0 +1,13 @@ |
|||||
|
--- |
||||
|
|
||||
|
- hosts: localhost |
||||
|
connection: local |
||||
|
become: true |
||||
|
tasks: |
||||
|
|
||||
|
- name: install htop |
||||
|
package: |
||||
|
name: |
||||
|
- htop |
||||
|
state: latest |
||||
|
update_cache: yes |
||||
@ -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…
Reference in new issue