13 Commits
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
Kurnesay 7fcc907f1f Merge remote-tracking branch 'origin/nextcloud' 2026-09-27 11:24:44 +03:00
Kurnesay c78af2d3eb Return inventory.yml in .gitignore 2026-09-27 11:02:19 +03:00
Kurnesay c9bbef68db Add inventory.yml in .gitignore 2026-09-27 10:59:58 +03:00
Kurnesay a3d97d346c Remove inventory.yml and ssh folder. Add README.md in wireguard 2026-09-27 10:57:42 +03:00
Kurnesay 367ce558b8 Rename .ssh to ssh folder in .gitignore 2026-09-27 10:53:33 +03:00
Kurnesay ac55a5d3ae Return ssh folder ignore in .gitignore 2026-09-27 10:51:10 +03:00
Kurnesay 8eb1022bba Error fixed in uri. 2026-09-17 16:48:15 +03:00
Kurnesay e54e4b7d99 Add README.md in nextcloud 2026-09-17 16:47:02 +03:00
Kurnesay a46182ff6c Merge pull request 'Last commit created for mine' (#3) from nextcloud into main
Reviewed-on: #3
2026-09-17 16:34:27 +03:00
Kurnesay 1bccded2b1 Merge pull request 'Add NextCloud task' from nextcloud into main
Reviewed-on: #2
2026-09-16 07:35:45 +03:00
9 changed files with 27 additions and 39 deletions
+1
View File
@@ -1,3 +1,4 @@
# ---> Ansible # ---> Ansible
*.retry *.retry
.venv .venv
ssh
+7 -1
View File
@@ -1,3 +1,9 @@
# sertilab-ansible # sertilab-ansible
Playbooks for Ansible Playbooks for HomeLab
This Playbooks created for my HomeLab. You can use my playbooks for another tasks.
[Wireguard](roles/homelab/wireguard/) - Create and dynamic create and delete peers.
[NextCloud](roles/homelab/nextcloud/) - Create NextCloud server.
+5
View File
@@ -4,3 +4,8 @@ main:
ansible_host: 100.222.6.20 ansible_host: 100.222.6.20
ansible_user: ansible ansible_user: ansible
ansible_ssh_private_key_file: ssh/privkey ansible_ssh_private_key_file: ssh/privkey
nextcloud:
ansible_host: 192.168.100.14
ansible_user: ansible
ansible_ssh_private_key_file: ssh/privkey
+10
View File
@@ -0,0 +1,10 @@
# NextCloud
This task for Up NextCloud Service.
For Debian distributions.
default attributes:
1. `nextcloud_version` - Nextcloud version. Use for download for offical web site.
2. `packages` - Name applications for install via apt.
+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:
View File
-25
View File
@@ -1,25 +0,0 @@
$ANSIBLE_VAULT;1.1;AES256
34663861613730363666623830613439663038353262373461313237646461666636623633353961
6562636133386262373261643339303435333866373937300a396235643662366431363731626464
31326662646133386361383730333364313061393134363962396632386537613765373866353532
3634643930666365310a333366656539633263326236343533373533656136613535656464613331
64643837323165313766353632396230613262616131373338363430363732393261343165653631
61653266373432383262396430643038323135396164653739373238383562326663326266386461
61383437633964643133353935393365643637636639626136653563303262356435333863623735
38616230373762346436613536306663303263613236366137353137396264386161633561336164
33663537316334343432316236363631393837366131373437373930633665323135633934386365
62383962353531363439653762383338616232663833613430393866386331303832653433363138
32653762353732653365353362323335663332363031323933346632333364336136323361363338
61623131623837613930656332653530646663646266383366383032306337626532666561653435
65333462303234623236613933316634353636383937336637626631336639643863326237373262
61393835666431663432383330343431636435336537336162666536333736313433313062323638
32366638393431663665656334613539363833333363343461313433646134336138396563353930
64323263313764383936666138613537383064666635333761616265636436623661396464376533
64643432643632626530383565316166336431613632303939646666323762393265626565663132
31396139333136643338356436393338633361663262653833623133343437343636346466376164
38326432656133393866373439646131396637613631626563623937623733326535663234626430
37613039356339616531623561313334393135343564663063626562326665643534343832326335
63636539333531316636363165663533306266643066326432333436326532383265363466373430
64383561396231396638343836326635363230353666386563383339316661326632326662343235
35353832346562663830316466303233343963346539636662343333613830373131616530343063
66373036636239303961
-10
View File
@@ -1,10 +0,0 @@
$ANSIBLE_VAULT;1.1;AES256
62373232393163613134613134376666336265666638646361353639313637346531323166323239
3465393266646433343535316363616466383063663736310a323562613731363862653634373165
32626164653563666566653533643334313636306333633032643062396634383561646163396232
6338373266373234340a626466376132653135316134303732663033343838303938313232303133
32653764363063623464623766343166653965626161653134636164346631356166383962363238
64393561363763643031383635663566633465366134323865643434376461356462633639363737
32313130303136366630346337393537343536353130353462373361313438623636653137666435
66336530326638636331353337643866333135663932393436393762303733323832373465623266
3161