Merge branch 'master' of github.com:bregman-arie/devops-exercises
This commit is contained in:
commit
4f2662f611
@ -4658,8 +4658,10 @@ Yes, it's a operating-system-level virtualization, where the kernel is shared an
|
|||||||
|Name|Topic|Objective & Instructions|Solution|Comments|
|
|Name|Topic|Objective & Instructions|Solution|Comments|
|
||||||
|--------|--------|------|----|----|
|
|--------|--------|------|----|----|
|
||||||
| My First Task | Tasks | [Exercise](exercises/ansible/my_first_task.md) | [Solution](exercises/ansible/solutions/my_first_task.md)
|
| My First Task | Tasks | [Exercise](exercises/ansible/my_first_task.md) | [Solution](exercises/ansible/solutions/my_first_task.md)
|
||||||
|
| Upgrade and Update Task | Tasks | [Exercise](exercises/ansible/update_upgrade_task.md) | [Solution](exercises/ansible/solutions/update_upgrade_task.md)
|
||||||
| My First Playbook | Playbooks | [Exercise](exercises/ansible/my_first_playbook.md) | [Solution](exercises/ansible/solutions/my_first_playbook.md)
|
| My First Playbook | Playbooks | [Exercise](exercises/ansible/my_first_playbook.md) | [Solution](exercises/ansible/solutions/my_first_playbook.md)
|
||||||
|
|
||||||
|
|
||||||
### Ansible Self Assesment
|
### Ansible Self Assesment
|
||||||
|
|
||||||
<details>
|
<details>
|
||||||
|
9
exercises/ansible/solutions/update_upgrade_task.md
Normal file
9
exercises/ansible/solutions/update_upgrade_task.md
Normal 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
|
||||||
|
```
|
3
exercises/ansible/update_upgrade_task.md
Normal file
3
exercises/ansible/update_upgrade_task.md
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
## Ansible - Update and upgrade APT packages task
|
||||||
|
|
||||||
|
1. Write a task to update and upgrade apt packages
|
Loading…
Reference in New Issue
Block a user