Skip to content
This repository was archived by the owner on Jul 29, 2025. It is now read-only.

Commit 376438a

Browse files
committed
fixes
1 parent de9c9f7 commit 376438a

File tree

3 files changed

+19
-5
lines changed

3 files changed

+19
-5
lines changed

inventory/all.yaml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,14 @@ all:
1818
- root
1919

2020
servers:
21+
children:
22+
docker_servers:
23+
hosts:
24+
r720-omv:
25+
ansible_host: 10.10.1.13
26+
ansible_user: root
27+
# ansible_password: "{{ r720_omv_pass }}"
2128
hosts:
22-
r720-omv:
23-
ansible_host: 10.10.1.13
24-
ansible_user: root
25-
# ansible_password: "{{ r720_omv_pass }}"
2629
rpi-streamdeck:
2730
ansible_host: 10.10.25.41
2831
ansible_user: dinth

playbooks/update.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@
33
become: true
44
tasks:
55
- ansible.builtin.include_tasks:
6-
file: ../roles/update_apt.yaml
6+
file: ../playbooks/update_apt.yaml
77
when: ansible_distribution == "Debian" or ansible_distribution == "Linux Mint" or ansible_distribution == "Ubuntu"

playbooks/update_apt.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
- name: Update all apt packages | apt
2+
ansible.builtin.apt:
3+
state: latest
4+
name: "*"
5+
force_apt_get: true
6+
autoremove: true
7+
update_cache: true
8+
register: output
9+
- name: Show output
10+
debug: msg="{{ output.stdout_lines }}"
11+
when: output.changed

0 commit comments

Comments
 (0)