Added ansible exercise and solution for upgrading and updating apt packages (#159)

* added solutions and exercise to readme
This commit is contained in:
Umegbewe Nwebedu
2021-09-27 09:00:16 +01:00
committed by GitHub
parent 10643a0c69
commit 8c23697b8d
3 changed files with 14 additions and 0 deletions

View File

@ -0,0 +1,9 @@
## Update and Upgrade apt packages task - Solution
```
- name: "update and upgrade apt packages."
become: yes
apt:
upgrade: yes
update_cache: yes
```

View File

@ -0,0 +1,3 @@
## Ansible - Update and upgrade APT packages task
1. Write a task to update and upgrade apt packages