devops-exercises/topics/ansible/solutions/update_upgrade_task.md

10 lines
163 B
Markdown
Raw Normal View History

## Update and Upgrade apt packages task - Solution
```
- name: "update and upgrade apt packages."
become: yes
apt:
upgrade: yes
update_cache: yes
```