initial playbooks - updates on Linux servers
This commit is contained in:
11
update-playbooks/ubuntu-update.yaml
Normal file
11
update-playbooks/ubuntu-update.yaml
Normal file
@@ -0,0 +1,11 @@
|
||||
---
|
||||
- name: Update Ubuntu Linux Systems
|
||||
hosts: ubuntu
|
||||
become: yes
|
||||
|
||||
tasks:
|
||||
- name: Update apt repo and cache
|
||||
apt: update_cache=yes force_apt_get=yes cache_valid_time=3600
|
||||
|
||||
- name: Upgrade all packages
|
||||
apt: upgrade=dist force_apt_get=yes
|
Reference in New Issue
Block a user