Author SHA1 Message Date
Qwen (agent) d0f23f706a fix(nextcloud): sources.list mode 0644 and keep backup
0744 sets an exec bit on a text file; backup preserves the previous
sources list instead of silently overwriting it.
2026-09-29 21:03:29 +00:00
Qwen (agent) 1d903dfc99 fix(nextcloud): use service module in handlers for init-system portability
systemd module fails in containers/chroots without systemd;
service module works with sysvinit scripts and systemd alike.
Verified by sandbox run: ok=15 changed=9 failed=0, idempotent.
2026-09-29 21:03:29 +00:00
Kurnesay af81a7b73b Edit /README.md, remove spase in line "Playbooks for HoemLab" 2026-09-27 11:25:44 +03:00
3 changed files with 5 additions and 4 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
# sertilab-ansible # sertilab-ansible
Playbooks for HomeLab Playbooks for HomeLab
This Playbooks created for my HomeLab. You can use my playbooks for another tasks. This Playbooks created for my HomeLab. You can use my playbooks for another tasks.
+2 -2
View File
@@ -1,11 +1,11 @@
--- ---
- name: "restart nftables" - name: "restart nftables"
ansible.builtin.systemd: ansible.builtin.service:
name: nftables name: nftables
state: restarted state: restarted
- name: "restart apache2" - name: "restart apache2"
ansible.builtin.systemd: ansible.builtin.service:
name: apache2 name: apache2
state: restarted state: restarted
@@ -6,7 +6,8 @@
dest: /etc/apt/sources.list dest: /etc/apt/sources.list
owner: root owner: root
group: root group: root
mode: '0744' mode: '0644'
backup: yes
- name: "Install packages" - name: "Install packages"
ansible.builtin.apt: ansible.builtin.apt: