fix erros with git clone #1

Merged
meaz merged 14 commits from fix_erros into main 2023-09-12 16:23:03 +02:00
Owner

I have this annoying issue with this role that runs fine the first time, but then breaks because we can not git clone a not empty folder. The error was stupid: we need to remove the symlinks before cloning ;)

I have this annoying issue with this role that runs fine the first time, but then breaks because we can not git clone a not empty folder. The error was stupid: we need to remove the symlinks before cloning ;)
muppeth was assigned by meaz 2023-08-03 12:16:27 +02:00
meaz added 5 commits 2023-08-03 12:16:28 +02:00
Owner

Solution looks weird. I will try to work though it coming day.

Solution looks weird. I will try to work though it coming day.
meaz added 1 commit 2023-08-13 09:17:34 +02:00
Author
Owner

also I'm wondering how to handle different site.yaml and system.yaml. I know I can template this, but if you have

grav_website_repo:
  - site_hostname: disroot.org
  ...
  - site_hostname: howtodisroot.org

that means two very different template with a lot of vars to add, so if I add those in this list, that will be long / not very readable. So I'm not sure how to do that in a smart way.

also I'm wondering how to handle different site.yaml and system.yaml. I know I can template this, but if you have ``` grav_website_repo: - site_hostname: disroot.org ... - site_hostname: howtodisroot.org ``` that means two very different template with a lot of vars to add, so if I add those in this list, that will be long / not very readable. So I'm not sure how to do that in a smart way.
Owner

Yes it's true. maybe instead of templating the file, just create a file you upload, or do similar thing to the config on mariadb role. It would make the templating easier (just one for loop) for sure.

Yes it's true. maybe instead of templating the file, just create a file you upload, or do similar thing to the config on mariadb role. It would make the templating easier (just one for loop) for sure.
meaz added 3 commits 2023-08-13 18:45:33 +02:00
Author
Owner

I did with files instead of templates, it seemed easier ;)

I did with files instead of templates, it seemed easier ;)
meaz added 1 commit 2023-08-13 22:17:13 +02:00
meaz added 1 commit 2023-08-13 22:18:36 +02:00
meaz added 1 commit 2023-08-13 22:38:43 +02:00
meaz added 2 commits 2023-08-16 20:51:10 +02:00
muppeth approved these changes 2023-09-11 11:56:21 +02:00
meaz merged commit 1007200cb6 into main 2023-09-12 16:23:03 +02:00
meaz deleted branch fix_erros 2023-09-12 16:23:03 +02:00
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: Disroot-Ansible/grav#1
No description provided.