mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-04-28 18:30:24 +02:00
Compare commits
No commits in common. "c2975262eaa2b1b7cf67f32eb5fe4747860c4cd3" and "08ee5dff9cadb4982df635b26911874b6c5be10a" have entirely different histories.
c2975262ea
...
08ee5dff9c
@ -54,7 +54,7 @@ defaults_redirect_domain_mappings:
|
|||||||
- { source: "gitea.{{primary_domain}}", target: "{{domains.gitea}}" }
|
- { source: "gitea.{{primary_domain}}", target: "{{domains.gitea}}" }
|
||||||
- { source: "keycloak.{{primary_domain}}", target: "{{domains.keycloak}}" }
|
- { source: "keycloak.{{primary_domain}}", target: "{{domains.keycloak}}" }
|
||||||
- { source: "listmonk.{{primary_domain}}", target: "{{domains.listmonk}}" }
|
- { source: "listmonk.{{primary_domain}}", target: "{{domains.listmonk}}" }
|
||||||
- { source: "mailu.{{primary_domain}}", target: "{{domains.mailu}}" }
|
- { source: "mail.{{primary_domain}}", target: "{{domains.mailu}}" }
|
||||||
- { source: "moodle.{{primary_domain}}", target: "{{domains.moodle}}" }
|
- { source: "moodle.{{primary_domain}}", target: "{{domains.moodle}}" }
|
||||||
- { source: "nextcloud.{{primary_domain}}", target: "{{domains.nextcloud}}" }
|
- { source: "nextcloud.{{primary_domain}}", target: "{{domains.nextcloud}}" }
|
||||||
- { source: "openproject.{{primary_domain}}", target: "{{domains.openproject}}" }
|
- { source: "openproject.{{primary_domain}}", target: "{{domains.openproject}}" }
|
||||||
|
@ -1,13 +0,0 @@
|
|||||||
# Routines to create the administrator account
|
|
||||||
# @see https://chatgpt.com/share/67b9b12c-064c-800f-9354-8e42e6459764
|
|
||||||
|
|
||||||
- name: Remove line containing "- administrator" from config/settings.yml to allow creating administrator account
|
|
||||||
shell: docker compose exec -u root web sed -i '/- administrator/d' config/settings.yml
|
|
||||||
when: administrator_username == "administrator"
|
|
||||||
|
|
||||||
- name: Create admin account via tootctl
|
|
||||||
shell: 'docker compose exec -u root web bash -c "RAILS_ENV=production bin/tootctl accounts create {{administrator_username}} --email {{administrator_email}} --confirmed --role Owner"'
|
|
||||||
ignore_errors: true
|
|
||||||
|
|
||||||
- name: Approve the administrator account in Mastodon
|
|
||||||
shell: docker compose exec -u root web bash -c "RAILS_ENV=production bin/tootctl accounts modify {{administrator_username}} --approve"
|
|
@ -22,7 +22,4 @@
|
|||||||
command:
|
command:
|
||||||
cmd: "docker-compose run --rm web bundle exec rails db:migrate"
|
cmd: "docker-compose run --rm web bundle exec rails db:migrate"
|
||||||
chdir: "{{docker_compose.directories.instance}}"
|
chdir: "{{docker_compose.directories.instance}}"
|
||||||
when: applications.mastodon.setup |bool
|
when: applications.mastodon.setup |bool
|
||||||
|
|
||||||
- name: "include create-administrator.yml for mastodon"
|
|
||||||
include_tasks: create-administrator.yml
|
|
@ -913,19 +913,6 @@ div.wrapper footer.main-footer, div.wrapper div.content-wrapper{
|
|||||||
color: var(--color-39);
|
color: var(--color-39);
|
||||||
}
|
}
|
||||||
|
|
||||||
html.dark-mode #layout-menu .special-buttons a:not(:focus) {
|
|
||||||
background: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
html.dark-mode #taskmenu a.selected, html.dark-mode .menu.toolbar a.selected {
|
|
||||||
background-color: rgba(var(--color-rgb-82), 0.5);
|
|
||||||
}
|
|
||||||
|
|
||||||
html.dark-mode .listing li.selected, html.dark-mode .listing li.selected>a, html.dark-mode .listing li.selected>div>a, html.dark-mode .listing tr.selected td {
|
|
||||||
color: var(--color-30);
|
|
||||||
background-color: rgba(var(--color-rgb-82), 0.5);
|
|
||||||
}
|
|
||||||
|
|
||||||
/** Nextcloud specific **/
|
/** Nextcloud specific **/
|
||||||
html.ng-csp header#header{
|
html.ng-csp header#header{
|
||||||
background-color: var(--color-80);
|
background-color: var(--color-80);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user