Compare commits

...

9 Commits

Author SHA1 Message Date
8e7fb3bc42 klal
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 0s
2025-05-24 20:11:29 +02:00
46da0fa6e9 klal 2025-05-24 20:05:19 +02:00
2f3f58c965 klal 2025-05-24 19:57:19 +02:00
264f510541 klal 2025-05-24 19:56:14 +02:00
b01bdb59f1 klal 2025-05-24 19:51:55 +02:00
644d8b1a59 klal 2025-05-24 19:50:01 +02:00
230c665365 klal 2025-05-24 19:47:41 +02:00
6a0f33c73f klal 2025-05-24 19:46:03 +02:00
026925081e klal 2025-05-24 19:36:39 +02:00
3 changed files with 22 additions and 17 deletions

View File

@ -1,17 +1,17 @@
$ANSIBLE_VAULT;1.1;AES256
61323036366363323032396232663032666134316166633635316134623436303565316538333637
6138356462323362636265323030353439393233643032330a313763336632383432613830356136
31353731646665373863666364363163633539313436643638663736393734363532363562353866
3333343966613162310a643534663838306435373630303337356331356164356463653863613363
62663862376430383238616135383233313430323839613631633339373430353361326338303666
35316631363739313938613737656661366636613165643736343433646233666362363034333139
31646636663161313365373337333661373330386365306664306233343765636136393531643531
63653362323461313763653836663165383162363763396162393932653764646532313637656136
62313761386237326633653037636334343765383464333562326230323131306637323265373261
37316263613732333633636334363762383733646461653632363434386539303130626538616437
66306433353061323932383437373637613638643232363461316262346436366162316637306461
64336261613436323664643063616239636631343139636164633234613536633665643231346463
33343536373235303032373939353032666237663137353366326639613730393439353232303964
63623536666339333135643361636138303539613233326639623236323331336661353734373562
31633131383835323734646235363266666336343565623339373265623635323134333964353966
61623231323936643565
34653034626436373537323430316462643663336164613763306336333038346562356565393036
3964393861323439333839383061303864326235306665620a346233313633393135366362326464
63643039363635646131323365313833643864373637346536663831613837353833343030623366
3038303063393565350a613439646161363330626566646264313939653339383439623532636638
38646433353765396136333236656535636235313639393565306636376438346362646438613835
62663031333832666262616365343831353530646263383932373666386631633430626363363966
61396336303365306135363039303032646137613330646434366638633738363064356132383439
36346432306531356333313963353463626232613563653331396334656539643531343136636635
31613762383664353930653165313461626133336161353639303662666234356138373539376161
30653837316266356136353132373663396365633434393166383230363263326139316362383766
64303738393663343636616437346535346566346536616663333866613966343563306265633064
66333331393861626637616330333463636135316466616532373663663464613034656337363437
62653333653838326632643238616638313935383532303233643132303637653963626363633662
33646161373931386133353338643462306635393866656662376234396533376431366134653536
36363835346434323338363465336166303161633732333232653861646136326334616261653462
66376139313433383665

View File

@ -4,6 +4,8 @@
- name: Include vault
ansible.builtin.include_vars:
file: jaydee.yml
name: mysecrets
when: inventory_hostname != 'nas.home.lan'
- name: Delete content & directory
ansible.builtin.file:
state: absent
@ -12,11 +14,12 @@
tags:
- git_pull
ansible.builtin.git:
repo: "https://{{ git_user | urlencode }}:{{ git_password_mqtt | urlencode }}@gitlab.sectorq.eu/jaydee/omv_backup.git"
repo: "https://{{ mysecrets['git_user'] | urlencode }}:{{ mysecrets['git_password_mqtt'] | urlencode }}@gitlab.sectorq.eu/jaydee/omv_backup.git"
dest: "{{ dest_folder }}"
update: true
clone: true
version: main
when: inventory_hostname != 'nas.home.lan'
- name: Print
ansible.builtin.debug:
msg: "{{ inventory_hostname }}"
@ -27,6 +30,7 @@
mode: '0755'
owner: root
group: root
when: inventory_hostname != 'nas.home.lan'
- name: Upload script
ansible.builtin.copy:

View File

@ -3,3 +3,4 @@
block:
- name: Gather facts
ansible.builtin.setup:
ignore_errors: true