fixes - temporary, now incomplete!
parent
3f8dd657f3
commit
87936b77fd
|
@ -0,0 +1,19 @@
|
||||||
|
# EditorConfig is awesome: https://EditorConfig.org
|
||||||
|
|
||||||
|
# top-most EditorConfig file
|
||||||
|
root = true
|
||||||
|
|
||||||
|
[*]
|
||||||
|
indent_style = space
|
||||||
|
indent_size = 2
|
||||||
|
end_of_line = lf
|
||||||
|
charset = utf-8
|
||||||
|
trim_trailing_whitespace = true
|
||||||
|
insert_final_newline = true
|
||||||
|
|
||||||
|
[Makefile]
|
||||||
|
indent_style = tab
|
||||||
|
tab_width = 2
|
||||||
|
|
||||||
|
[*.md]
|
||||||
|
trim_trailing_whitespace = false
|
|
@ -0,0 +1 @@
|
||||||
|
target
|
|
@ -1,6 +1,6 @@
|
||||||
/////
|
/////
|
||||||
# The home-server project produces a multi-purpose setup using Ansible.
|
# The home-server project produces a multi-purpose setup using Ansible.
|
||||||
# Copyright © 2018 Y. Gablin, under the GPL-3.0-or-later license.
|
# Copyright © 2018–2023 Y. Gablin, under the GPL-3.0-or-later license.
|
||||||
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
||||||
/////
|
/////
|
||||||
|
|
||||||
|
@ -132,6 +132,6 @@ $ ansible-playbook -i production site.yml
|
||||||
[literal.small]
|
[literal.small]
|
||||||
.....
|
.....
|
||||||
# The home-server project produces a multi-purpose setup using Ansible.
|
# The home-server project produces a multi-purpose setup using Ansible.
|
||||||
# Copyright © 2018 Y. Gablin, under the GPL-3.0-or-later license.
|
# Copyright © 2018–2023 Y. Gablin, under the GPL-3.0-or-later license.
|
||||||
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
||||||
.....
|
.....
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
/////
|
/////
|
||||||
# The home-server project produces a multi-purpose setup using Ansible.
|
# The home-server project produces a multi-purpose setup using Ansible.
|
||||||
# Copyright © 2018 Y. Gablin, under the GPL-3.0-or-later license.
|
# Copyright © 2018–2023 Y. Gablin, under the GPL-3.0-or-later license.
|
||||||
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
||||||
/////
|
/////
|
||||||
|
|
||||||
|
@ -538,6 +538,6 @@ I decided to do a clean import, especially since I configured Dovecot in a way
|
||||||
[literal.small]
|
[literal.small]
|
||||||
.....
|
.....
|
||||||
# The home-server project produces a multi-purpose setup using Ansible.
|
# The home-server project produces a multi-purpose setup using Ansible.
|
||||||
# Copyright © 2018 Y. Gablin, under the GPL-3.0-or-later license.
|
# Copyright © 2018–2023 Y. Gablin, under the GPL-3.0-or-later license.
|
||||||
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
||||||
.....
|
.....
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
# The home-server project produces a multi-purpose setup using Ansible.
|
# The home-server project produces a multi-purpose setup using Ansible.
|
||||||
# Copyright © 2018 Y. Gablin, under the GPL-3.0-or-later license.
|
# Copyright © 2018–2023 Y. Gablin, under the GPL-3.0-or-later license.
|
||||||
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
||||||
|
|
||||||
- name: stop some services
|
- name: stop some services
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
# The home-server project produces a multi-purpose setup using Ansible.
|
# The home-server project produces a multi-purpose setup using Ansible.
|
||||||
# Copyright © 2018 Y. Gablin, under the GPL-3.0-or-later license.
|
# Copyright © 2018–2023 Y. Gablin, under the GPL-3.0-or-later license.
|
||||||
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
||||||
|
|
||||||
- name: stop again services that may got started by handlers
|
- name: stop again services that may got started by handlers
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
# The home-server project produces a multi-purpose setup using Ansible.
|
# The home-server project produces a multi-purpose setup using Ansible.
|
||||||
# Copyright © 2018 Y. Gablin, under the GPL-3.0-or-later license.
|
# Copyright © 2018–2023 Y. Gablin, under the GPL-3.0-or-later license.
|
||||||
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
||||||
|
|
||||||
[Unit]
|
[Unit]
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
# The home-server project produces a multi-purpose setup using Ansible.
|
# The home-server project produces a multi-purpose setup using Ansible.
|
||||||
# Copyright © 2018 Y. Gablin, under the GPL-3.0-or-later license.
|
# Copyright © 2018–2023 Y. Gablin, under the GPL-3.0-or-later license.
|
||||||
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
||||||
|
|
||||||
- name: restart dehydrated.service
|
- name: restart dehydrated.service
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
# The home-server project produces a multi-purpose setup using Ansible.
|
# The home-server project produces a multi-purpose setup using Ansible.
|
||||||
# Copyright © 2018 Y. Gablin, under the GPL-3.0-or-later license.
|
# Copyright © 2018–2023 Y. Gablin, under the GPL-3.0-or-later license.
|
||||||
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
||||||
|
|
||||||
dependencies:
|
dependencies:
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
# The home-server project produces a multi-purpose setup using Ansible.
|
# The home-server project produces a multi-purpose setup using Ansible.
|
||||||
# Copyright © 2018 Y. Gablin, under the GPL-3.0-or-later license.
|
# Copyright © 2018–2023 Y. Gablin, under the GPL-3.0-or-later license.
|
||||||
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
||||||
|
|
||||||
### UPSTREAM BEGIN ⇒ ###
|
### UPSTREAM BEGIN ⇒ ###
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
# The home-server project produces a multi-purpose setup using Ansible.
|
# The home-server project produces a multi-purpose setup using Ansible.
|
||||||
# Copyright © 2018 Y. Gablin, under the GPL-3.0-or-later license.
|
# Copyright © 2018–2023 Y. Gablin, under the GPL-3.0-or-later license.
|
||||||
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
||||||
|
|
||||||
#CA="https://acme-staging.api.letsencrypt.org/directory"
|
#CA="https://acme-staging.api.letsencrypt.org/directory"
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
# The home-server project produces a multi-purpose setup using Ansible.
|
# The home-server project produces a multi-purpose setup using Ansible.
|
||||||
# Copyright © 2018 Y. Gablin, under the GPL-3.0-or-later license.
|
# Copyright © 2018–2023 Y. Gablin, under the GPL-3.0-or-later license.
|
||||||
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
||||||
|
|
||||||
RSH=/usr/local/bin/{{DMZ}}
|
RSH=/usr/local/bin/{{DMZ}}
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
# The home-server project produces a multi-purpose setup using Ansible.
|
# The home-server project produces a multi-purpose setup using Ansible.
|
||||||
# Copyright © 2018 Y. Gablin, under the GPL-3.0-or-later license.
|
# Copyright © 2018–2023 Y. Gablin, under the GPL-3.0-or-later license.
|
||||||
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
||||||
|
|
||||||
- name: restart nginx.service
|
- name: restart nginx.service
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
# The home-server project produces a multi-purpose setup using Ansible.
|
# The home-server project produces a multi-purpose setup using Ansible.
|
||||||
# Copyright © 2018 Y. Gablin, under the GPL-3.0-or-later license.
|
# Copyright © 2018–2023 Y. Gablin, under the GPL-3.0-or-later license.
|
||||||
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
||||||
|
|
||||||
dependencies:
|
dependencies:
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
# The home-server project produces a multi-purpose setup using Ansible.
|
# The home-server project produces a multi-purpose setup using Ansible.
|
||||||
# Copyright © 2018 Y. Gablin, under the GPL-3.0-or-later license.
|
# Copyright © 2018–2023 Y. Gablin, under the GPL-3.0-or-later license.
|
||||||
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
||||||
|
|
||||||
- name: ensure /srv/acme exists
|
- name: ensure /srv/acme exists
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
---
|
---
|
||||||
# The home-server project produces a multi-purpose setup using Ansible.
|
# The home-server project produces a multi-purpose setup using Ansible.
|
||||||
# Copyright © 2018 Y. Gablin, under the GPL-3.0-or-later license.
|
# Copyright © 2018–2023 Y. Gablin, under the GPL-3.0-or-later license.
|
||||||
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
||||||
|
|
||||||
# mandatory parameters: pkg_name, pre_cmd, aur_user
|
# mandatory parameters: pkg_name, pre_cmd, aur_name, aur_home
|
||||||
|
|
||||||
- name: AUR → {{pkg_name}} → read current version
|
- name: AUR → {{pkg_name}} → read current version
|
||||||
shell: |
|
shell: |
|
||||||
|
@ -14,7 +14,7 @@
|
||||||
- name: AUR → {{pkg_name}} → get metadata from AurJson
|
- name: AUR → {{pkg_name}} → get metadata from AurJson
|
||||||
uri:
|
uri:
|
||||||
url: https://aur.archlinux.org/rpc/?v=5&type=info&arg={{pkg_name | mandatory}}
|
url: https://aur.archlinux.org/rpc/?v=5&type=info&arg={{pkg_name | mandatory}}
|
||||||
connection: local
|
delegate_to: localhost
|
||||||
register: aurjson
|
register: aurjson
|
||||||
changed_when: false
|
changed_when: false
|
||||||
|
|
||||||
|
@ -22,7 +22,7 @@
|
||||||
get_url:
|
get_url:
|
||||||
url: https://aur.archlinux.org{{aurjson.json.results[0].URLPath}}
|
url: https://aur.archlinux.org{{aurjson.json.results[0].URLPath}}
|
||||||
dest: /tmp/
|
dest: /tmp/
|
||||||
connection: local
|
delegate_to: localhost
|
||||||
when:
|
when:
|
||||||
- (aurjson.json.results[0].Version != (pacmanQi.stdout | default()))
|
- (aurjson.json.results[0].Version != (pacmanQi.stdout | default()))
|
||||||
register: aur_recipe
|
register: aur_recipe
|
||||||
|
@ -45,6 +45,8 @@
|
||||||
args:
|
args:
|
||||||
chdir: /var/tmp/{{aurjson.json.results[0].PackageBase}}
|
chdir: /var/tmp/{{aurjson.json.results[0].PackageBase}}
|
||||||
when: pre_cmd
|
when: pre_cmd
|
||||||
|
environment:
|
||||||
|
HOME: "{{aur_home}}"
|
||||||
register: debugCustom
|
register: debugCustom
|
||||||
|
|
||||||
- name: AUR → {{pkg_name}} → see custom pre-processing commands’ result
|
- name: AUR → {{pkg_name}} → see custom pre-processing commands’ result
|
||||||
|
@ -86,6 +88,8 @@
|
||||||
- (pacman_output.stdout is defined)
|
- (pacman_output.stdout is defined)
|
||||||
- (pacman_output.stdout.find('there is nothing to do') == -1)
|
- (pacman_output.stdout.find('there is nothing to do') == -1)
|
||||||
|
|
||||||
|
environment:
|
||||||
|
HOME: "{{aur_home}}"
|
||||||
when:
|
when:
|
||||||
- (realVersion.stdout != (pacmanQi.stdout | default()))
|
- (realVersion.stdout != (pacmanQi.stdout | default()))
|
||||||
|
|
||||||
|
@ -97,7 +101,7 @@
|
||||||
changed_when: false
|
changed_when: false
|
||||||
|
|
||||||
become: true
|
become: true
|
||||||
become_user: "{{aur_user}}"
|
become_user: "{{aur_name}}"
|
||||||
when:
|
when:
|
||||||
- (aurjson.json.results[0].Version != (pacmanQi.stdout | default()))
|
- (aurjson.json.results[0].Version != (pacmanQi.stdout | default()))
|
||||||
|
|
||||||
|
@ -106,6 +110,6 @@
|
||||||
file:
|
file:
|
||||||
path: '{{aur_recipe.dest}}'
|
path: '{{aur_recipe.dest}}'
|
||||||
state: absent
|
state: absent
|
||||||
connection: local
|
delegate_to: localhost
|
||||||
become: false
|
become: false
|
||||||
changed_when: false
|
changed_when: false
|
||||||
|
|
|
@ -1,28 +1,61 @@
|
||||||
---
|
---
|
||||||
# The home-server project produces a multi-purpose setup using Ansible.
|
# The home-server project produces a multi-purpose setup using Ansible.
|
||||||
# Copyright © 2018 Y. Gablin, under the GPL-3.0-or-later license.
|
# Copyright © 2018–2023 Y. Gablin, under the GPL-3.0-or-later license.
|
||||||
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
||||||
|
|
||||||
# mandatory parameters:
|
# mandatory parameters:
|
||||||
# - pkg_names (json-encoded list)
|
# - pkg_names (json-encoded list)
|
||||||
# - aur_user
|
# - aur_user
|
||||||
|
|
||||||
- name: AUR → base-devel needed while building
|
- name: AUR → read (or create) requested HOME while running AUR tasks
|
||||||
become: false
|
shell: |
|
||||||
command: |
|
case "$aur_requested_home" in
|
||||||
pacman -S --noconfirm --noprogressbar --asdeps --needed base-devel
|
'') printf '%s' "$HOME" ;;
|
||||||
|
'!mktemp') sudo -u "$aur_user_name" mktemp -d /tmp/AUR-TEMP-HOME-XXXX ;;
|
||||||
|
*) printf '%s' "$aur_requested_home" ;;
|
||||||
|
esac
|
||||||
|
environment:
|
||||||
|
aur_requested_home: "{{(aur_user is mapping) | ternary(aur_user.home, '')}}"
|
||||||
|
aur_user_name: "{{(aur_user is mapping) | ternary(aur_user.name, aur_user)}}"
|
||||||
|
register: requestedHome
|
||||||
changed_when: false
|
changed_when: false
|
||||||
|
|
||||||
- name: AUR → proceed with installation
|
- name: AUR → run AUR tasks
|
||||||
block:
|
block:
|
||||||
- name: AUR → installation
|
|
||||||
include_tasks: install.yml
|
- name: AUR → see effective HOME
|
||||||
vars:
|
debug:
|
||||||
pkg_name: "{{(item is mapping) | ternary(item.pkg, item)}}"
|
var: requestedHome
|
||||||
pre_cmd: "{{(item is mapping) | ternary(item.pre, '')}}"
|
changed_when: false
|
||||||
with_items: "{{packages}}"
|
|
||||||
always:
|
- name: AUR → base-devel needed while building
|
||||||
- name: AUR → remove base-devel and dependencies
|
become: false
|
||||||
shell: |
|
command: |
|
||||||
pacman -Rns --noconfirm --noprogressbar $(pacman -Qtdqg base-devel) || true
|
pacman -S --noconfirm --noprogressbar --asdeps --needed base-devel
|
||||||
|
changed_when: false
|
||||||
|
|
||||||
|
- name: AUR → proceed with installation
|
||||||
|
block:
|
||||||
|
- name: AUR → installation
|
||||||
|
include_tasks: install.yml
|
||||||
|
vars:
|
||||||
|
aur_name: "{{(aur_user is mapping) | ternary(aur_user.name, aur_user)}}"
|
||||||
|
aur_home: "{{requestedHome.stdout}}"
|
||||||
|
pkg_name: "{{(item is mapping) | ternary(item.pkg, item)}}"
|
||||||
|
pre_cmd: "{{(item is mapping) | ternary(item.pre, '')}}"
|
||||||
|
with_items: "{{packages}}"
|
||||||
|
always:
|
||||||
|
- name: AUR → remove base-devel and dependencies
|
||||||
|
shell: |
|
||||||
|
pacman -Rns --noconfirm --noprogressbar base-devel || true
|
||||||
|
changed_when: false
|
||||||
|
|
||||||
|
always:
|
||||||
|
- name: AUR → remove temporary HOME
|
||||||
|
file:
|
||||||
|
path: "{{requestedHome.stdout}}"
|
||||||
|
state: absent
|
||||||
|
when:
|
||||||
|
- (aur_user is mapping)
|
||||||
|
- (aur_user.home == '!mktemp')
|
||||||
changed_when: false
|
changed_when: false
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
# The home-server project produces a multi-purpose setup using Ansible.
|
# The home-server project produces a multi-purpose setup using Ansible.
|
||||||
# Copyright © 2018 Y. Gablin, under the GPL-3.0-or-later license.
|
# Copyright © 2018–2023 Y. Gablin, under the GPL-3.0-or-later license.
|
||||||
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
||||||
|
|
||||||
dependencies:
|
dependencies:
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
# The home-server project produces a multi-purpose setup using Ansible.
|
# The home-server project produces a multi-purpose setup using Ansible.
|
||||||
# Copyright © 2018 Y. Gablin, under the GPL-3.0-or-later license.
|
# Copyright © 2018–2023 Y. Gablin, under the GPL-3.0-or-later license.
|
||||||
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
||||||
|
|
||||||
### UPSTREAM BEGIN ⇒ ###
|
### UPSTREAM BEGIN ⇒ ###
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
# The home-server project produces a multi-purpose setup using Ansible.
|
# The home-server project produces a multi-purpose setup using Ansible.
|
||||||
# Copyright © 2018 Y. Gablin, under the GPL-3.0-or-later license.
|
# Copyright © 2018–2023 Y. Gablin, under the GPL-3.0-or-later license.
|
||||||
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
||||||
|
|
||||||
dependencies:
|
dependencies:
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
# The home-server project produces a multi-purpose setup using Ansible.
|
# The home-server project produces a multi-purpose setup using Ansible.
|
||||||
# Copyright © 2018 Y. Gablin, under the GPL-3.0-or-later license.
|
# Copyright © 2018–2023 Y. Gablin, under the GPL-3.0-or-later license.
|
||||||
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
||||||
|
|
||||||
### UPSTREAM BEGIN ⇒ ###
|
### UPSTREAM BEGIN ⇒ ###
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
# The home-server project produces a multi-purpose setup using Ansible.
|
# The home-server project produces a multi-purpose setup using Ansible.
|
||||||
# Copyright © 2018 Y. Gablin, under the GPL-3.0-or-later license.
|
# Copyright © 2018–2023 Y. Gablin, under the GPL-3.0-or-later license.
|
||||||
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
||||||
|
|
||||||
- name: restart ddclient@fdns.service
|
- name: restart ddclient@fdns.service
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
# The home-server project produces a multi-purpose setup using Ansible.
|
# The home-server project produces a multi-purpose setup using Ansible.
|
||||||
# Copyright © 2018 Y. Gablin, under the GPL-3.0-or-later license.
|
# Copyright © 2018–2023 Y. Gablin, under the GPL-3.0-or-later license.
|
||||||
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
||||||
|
|
||||||
dependencies:
|
dependencies:
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
# The home-server project produces a multi-purpose setup using Ansible.
|
# The home-server project produces a multi-purpose setup using Ansible.
|
||||||
# Copyright © 2018 Y. Gablin, under the GPL-3.0-or-later license.
|
# Copyright © 2018–2023 Y. Gablin, under the GPL-3.0-or-later license.
|
||||||
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
||||||
|
|
||||||
- name: initialize the ddclient software
|
- name: initialize the ddclient software
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
# The home-server project produces a multi-purpose setup using Ansible.
|
# The home-server project produces a multi-purpose setup using Ansible.
|
||||||
# Copyright © 2018 Y. Gablin, under the GPL-3.0-or-later license.
|
# Copyright © 2018–2023 Y. Gablin, under the GPL-3.0-or-later license.
|
||||||
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
||||||
|
|
||||||
- name: restart ddclient@henet.service
|
- name: restart ddclient@henet.service
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
# The home-server project produces a multi-purpose setup using Ansible.
|
# The home-server project produces a multi-purpose setup using Ansible.
|
||||||
# Copyright © 2018 Y. Gablin, under the GPL-3.0-or-later license.
|
# Copyright © 2018–2023 Y. Gablin, under the GPL-3.0-or-later license.
|
||||||
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
||||||
|
|
||||||
dependencies:
|
dependencies:
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
# The home-server project produces a multi-purpose setup using Ansible.
|
# The home-server project produces a multi-purpose setup using Ansible.
|
||||||
# Copyright © 2018 Y. Gablin, under the GPL-3.0-or-later license.
|
# Copyright © 2018–2023 Y. Gablin, under the GPL-3.0-or-later license.
|
||||||
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
||||||
|
|
||||||
- name: initialize the ddclient software
|
- name: initialize the ddclient software
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
# The home-server project produces a multi-purpose setup using Ansible.
|
# The home-server project produces a multi-purpose setup using Ansible.
|
||||||
# Copyright © 2018 Y. Gablin, under the GPL-3.0-or-later license.
|
# Copyright © 2018–2023 Y. Gablin, under the GPL-3.0-or-later license.
|
||||||
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
||||||
|
|
||||||
- name: restart nginx.service
|
- name: restart nginx.service
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
# The home-server project produces a multi-purpose setup using Ansible.
|
# The home-server project produces a multi-purpose setup using Ansible.
|
||||||
# Copyright © 2018 Y. Gablin, under the GPL-3.0-or-later license.
|
# Copyright © 2018–2023 Y. Gablin, under the GPL-3.0-or-later license.
|
||||||
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
||||||
|
|
||||||
dependencies:
|
dependencies:
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
# The home-server project produces a multi-purpose setup using Ansible.
|
# The home-server project produces a multi-purpose setup using Ansible.
|
||||||
# Copyright © 2018 Y. Gablin, under the GPL-3.0-or-later license.
|
# Copyright © 2018–2023 Y. Gablin, under the GPL-3.0-or-later license.
|
||||||
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
||||||
|
|
||||||
- name: make sure the path to dotclear exists
|
- name: make sure the path to dotclear exists
|
||||||
|
@ -13,7 +13,7 @@
|
||||||
get_url:
|
get_url:
|
||||||
url: 'http://download.dotclear.org/latest.tar.gz'
|
url: 'http://download.dotclear.org/latest.tar.gz'
|
||||||
dest: /tmp/
|
dest: /tmp/
|
||||||
connection: local
|
delegate_to: localhost
|
||||||
register: targz
|
register: targz
|
||||||
changed_when: false
|
changed_when: false
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
# The home-server project produces a multi-purpose setup using Ansible.
|
# The home-server project produces a multi-purpose setup using Ansible.
|
||||||
# Copyright © 2018 Y. Gablin, under the GPL-3.0-or-later license.
|
# Copyright © 2018–2023 Y. Gablin, under the GPL-3.0-or-later license.
|
||||||
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
||||||
|
|
||||||
if (!defined('DC_RC_PATH')) { return; }
|
if (!defined('DC_RC_PATH')) { return; }
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
# The home-server project produces a multi-purpose setup using Ansible.
|
# The home-server project produces a multi-purpose setup using Ansible.
|
||||||
# Copyright © 2018 Y. Gablin, under the GPL-3.0-or-later license.
|
# Copyright © 2018–2023 Y. Gablin, under the GPL-3.0-or-later license.
|
||||||
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
||||||
|
|
||||||
# https://fr.dotclear.org/documentation/2.0/resources/authentication
|
# https://fr.dotclear.org/documentation/2.0/resources/authentication
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
# The home-server project produces a multi-purpose setup using Ansible.
|
# The home-server project produces a multi-purpose setup using Ansible.
|
||||||
# Copyright © 2018 Y. Gablin, under the GPL-3.0-or-later license.
|
# Copyright © 2018–2023 Y. Gablin, under the GPL-3.0-or-later license.
|
||||||
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
||||||
|
|
||||||
- name: restart spamassassin-update.timer
|
- name: restart spamassassin-update.timer
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
# The home-server project produces a multi-purpose setup using Ansible.
|
# The home-server project produces a multi-purpose setup using Ansible.
|
||||||
# Copyright © 2018 Y. Gablin, under the GPL-3.0-or-later license.
|
# Copyright © 2018–2023 Y. Gablin, under the GPL-3.0-or-later license.
|
||||||
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
||||||
|
|
||||||
dependencies:
|
dependencies:
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
# The home-server project produces a multi-purpose setup using Ansible.
|
# The home-server project produces a multi-purpose setup using Ansible.
|
||||||
# Copyright © 2018 Y. Gablin, under the GPL-3.0-or-later license.
|
# Copyright © 2018–2023 Y. Gablin, under the GPL-3.0-or-later license.
|
||||||
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
||||||
|
|
||||||
### UPSTREAM BEGIN ⇒ ###
|
### UPSTREAM BEGIN ⇒ ###
|
||||||
|
@ -498,10 +498,9 @@
|
||||||
marker: ' # {mark} LMTP transport'
|
marker: ' # {mark} LMTP transport'
|
||||||
block: |
|
block: |
|
||||||
lmtp_transport:
|
lmtp_transport:
|
||||||
driver = smtp
|
driver = lmtp
|
||||||
protocol = lmtp
|
socket = /run/shared_sockets/lmtp
|
||||||
rcpt_include_affixes
|
timeout = 1m
|
||||||
port = 24
|
|
||||||
insertbefore: '^# This transport is used'
|
insertbefore: '^# This transport is used'
|
||||||
notify:
|
notify:
|
||||||
- restart exim.service
|
- restart exim.service
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
# The home-server project produces a multi-purpose setup using Ansible.
|
# The home-server project produces a multi-purpose setup using Ansible.
|
||||||
# Copyright © 2018 Y. Gablin, under the GPL-3.0-or-later license.
|
# Copyright © 2018–2023 Y. Gablin, under the GPL-3.0-or-later license.
|
||||||
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
||||||
|
|
||||||
- name: restart haproxy.service
|
- name: restart haproxy.service
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
# The home-server project produces a multi-purpose setup using Ansible.
|
# The home-server project produces a multi-purpose setup using Ansible.
|
||||||
# Copyright © 2018 Y. Gablin, under the GPL-3.0-or-later license.
|
# Copyright © 2018–2023 Y. Gablin, under the GPL-3.0-or-later license.
|
||||||
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
||||||
|
|
||||||
dependencies:
|
dependencies:
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
# The home-server project produces a multi-purpose setup using Ansible.
|
# The home-server project produces a multi-purpose setup using Ansible.
|
||||||
# Copyright © 2018 Y. Gablin, under the GPL-3.0-or-later license.
|
# Copyright © 2018–2023 Y. Gablin, under the GPL-3.0-or-later license.
|
||||||
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
||||||
|
|
||||||
### UPSTREAM BEGIN ⇒ ###
|
### UPSTREAM BEGIN ⇒ ###
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
# The home-server project produces a multi-purpose setup using Ansible.
|
# The home-server project produces a multi-purpose setup using Ansible.
|
||||||
# Copyright © 2018 Y. Gablin, under the GPL-3.0-or-later license.
|
# Copyright © 2018–2023 Y. Gablin, under the GPL-3.0-or-later license.
|
||||||
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
||||||
|
|
||||||
global
|
global
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
# The home-server project produces a multi-purpose setup using Ansible.
|
# The home-server project produces a multi-purpose setup using Ansible.
|
||||||
# Copyright © 2018 Y. Gablin, under the GPL-3.0-or-later license.
|
# Copyright © 2018–2023 Y. Gablin, under the GPL-3.0-or-later license.
|
||||||
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
||||||
|
|
||||||
- name: restart nginx.service
|
- name: restart nginx.service
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
# The home-server project produces a multi-purpose setup using Ansible.
|
# The home-server project produces a multi-purpose setup using Ansible.
|
||||||
# Copyright © 2018 Y. Gablin, under the GPL-3.0-or-later license.
|
# Copyright © 2018–2023 Y. Gablin, under the GPL-3.0-or-later license.
|
||||||
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
||||||
|
|
||||||
dependencies:
|
dependencies:
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
# The home-server project produces a multi-purpose setup using Ansible.
|
# The home-server project produces a multi-purpose setup using Ansible.
|
||||||
# Copyright © 2018 Y. Gablin, under the GPL-3.0-or-later license.
|
# Copyright © 2018–2023 Y. Gablin, under the GPL-3.0-or-later license.
|
||||||
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
||||||
|
|
||||||
- name: configure nginx for Gitea
|
- name: configure nginx for Gitea
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
# The home-server project produces a multi-purpose setup using Ansible.
|
# The home-server project produces a multi-purpose setup using Ansible.
|
||||||
# Copyright © 2018 Y. Gablin, under the GPL-3.0-or-later license.
|
# Copyright © 2018–2023 Y. Gablin, under the GPL-3.0-or-later license.
|
||||||
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
||||||
|
|
||||||
- name: restart nginx.service
|
- name: restart nginx.service
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
# The home-server project produces a multi-purpose setup using Ansible.
|
# The home-server project produces a multi-purpose setup using Ansible.
|
||||||
# Copyright © 2018 Y. Gablin, under the GPL-3.0-or-later license.
|
# Copyright © 2018–2023 Y. Gablin, under the GPL-3.0-or-later license.
|
||||||
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
||||||
|
|
||||||
dependencies:
|
dependencies:
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
# The home-server project produces a multi-purpose setup using Ansible.
|
# The home-server project produces a multi-purpose setup using Ansible.
|
||||||
# Copyright © 2018 Y. Gablin, under the GPL-3.0-or-later license.
|
# Copyright © 2018–2023 Y. Gablin, under the GPL-3.0-or-later license.
|
||||||
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
||||||
|
|
||||||
### UPSTREAM BEGIN ⇒ ###
|
### UPSTREAM BEGIN ⇒ ###
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
# The home-server project produces a multi-purpose setup using Ansible.
|
# The home-server project produces a multi-purpose setup using Ansible.
|
||||||
# Copyright © 2018 Y. Gablin, under the GPL-3.0-or-later license.
|
# Copyright © 2018–2023 Y. Gablin, under the GPL-3.0-or-later license.
|
||||||
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
||||||
|
|
||||||
- name: restart nginx.service
|
- name: restart nginx.service
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
# The home-server project produces a multi-purpose setup using Ansible.
|
# The home-server project produces a multi-purpose setup using Ansible.
|
||||||
# Copyright © 2018 Y. Gablin, under the GPL-3.0-or-later license.
|
# Copyright © 2018–2023 Y. Gablin, under the GPL-3.0-or-later license.
|
||||||
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
||||||
|
|
||||||
dependencies:
|
dependencies:
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
# The home-server project produces a multi-purpose setup using Ansible.
|
# The home-server project produces a multi-purpose setup using Ansible.
|
||||||
# Copyright © 2018 Y. Gablin, under the GPL-3.0-or-later license.
|
# Copyright © 2018–2023 Y. Gablin, under the GPL-3.0-or-later license.
|
||||||
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
||||||
|
|
||||||
- name: create a directory for the Motion web page
|
- name: create a directory for the Motion web page
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
# The home-server project produces a multi-purpose setup using Ansible.
|
# The home-server project produces a multi-purpose setup using Ansible.
|
||||||
# Copyright © 2018 Y. Gablin, under the GPL-3.0-or-later license.
|
# Copyright © 2018–2023 Y. Gablin, under the GPL-3.0-or-later license.
|
||||||
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
||||||
|
|
||||||
- name: restart movim.service
|
- name: restart movim.service
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
# The home-server project produces a multi-purpose setup using Ansible.
|
# The home-server project produces a multi-purpose setup using Ansible.
|
||||||
# Copyright © 2018 Y. Gablin, under the GPL-3.0-or-later license.
|
# Copyright © 2018–2023 Y. Gablin, under the GPL-3.0-or-later license.
|
||||||
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
||||||
|
|
||||||
dependencies:
|
dependencies:
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
# The home-server project produces a multi-purpose setup using Ansible.
|
# The home-server project produces a multi-purpose setup using Ansible.
|
||||||
# Copyright © 2018 Y. Gablin, under the GPL-3.0-or-later license.
|
# Copyright © 2018–2023 Y. Gablin, under the GPL-3.0-or-later license.
|
||||||
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
||||||
|
|
||||||
### UPSTREAM BEGIN ⇒ ###
|
### UPSTREAM BEGIN ⇒ ###
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
# The home-server project produces a multi-purpose setup using Ansible.
|
# The home-server project produces a multi-purpose setup using Ansible.
|
||||||
# Copyright © 2018 Y. Gablin, under the GPL-3.0-or-later license.
|
# Copyright © 2018–2023 Y. Gablin, under the GPL-3.0-or-later license.
|
||||||
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
||||||
|
|
||||||
- name: restart nginx.service
|
- name: restart nginx.service
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
# The home-server project produces a multi-purpose setup using Ansible.
|
# The home-server project produces a multi-purpose setup using Ansible.
|
||||||
# Copyright © 2018 Y. Gablin, under the GPL-3.0-or-later license.
|
# Copyright © 2018–2023 Y. Gablin, under the GPL-3.0-or-later license.
|
||||||
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
||||||
|
|
||||||
dependencies:
|
dependencies:
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
# The home-server project produces a multi-purpose setup using Ansible.
|
# The home-server project produces a multi-purpose setup using Ansible.
|
||||||
# Copyright © 2018 Y. Gablin, under the GPL-3.0-or-later license.
|
# Copyright © 2018–2023 Y. Gablin, under the GPL-3.0-or-later license.
|
||||||
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
||||||
|
|
||||||
- name: configure Nginx for Nextcloud
|
- name: configure Nginx for Nextcloud
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
# The home-server project produces a multi-purpose setup using Ansible.
|
# The home-server project produces a multi-purpose setup using Ansible.
|
||||||
# Copyright © 2018 Y. Gablin, under the GPL-3.0-or-later license.
|
# Copyright © 2018–2023 Y. Gablin, under the GPL-3.0-or-later license.
|
||||||
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
||||||
|
|
||||||
# Nextcloud BUG
|
# Nextcloud BUG
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
# The home-server project produces a multi-purpose setup using Ansible.
|
# The home-server project produces a multi-purpose setup using Ansible.
|
||||||
# Copyright © 2018 Y. Gablin, under the GPL-3.0-or-later license.
|
# Copyright © 2018–2023 Y. Gablin, under the GPL-3.0-or-later license.
|
||||||
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
||||||
|
|
||||||
# https://docs.nextcloud.com/server/12/admin_manual/installation/nginx.html
|
# https://docs.nextcloud.com/server/12/admin_manual/installation/nginx.html
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
---
|
---
|
||||||
# The home-server project produces a multi-purpose setup using Ansible.
|
# The home-server project produces a multi-purpose setup using Ansible.
|
||||||
# Copyright © 2018 Y. Gablin, under the GPL-3.0-or-later license.
|
# Copyright © 2018–2023 Y. Gablin, under the GPL-3.0-or-later license.
|
||||||
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
||||||
|
|
||||||
- name: create tmpfiles
|
- name: create tmpfiles
|
||||||
command: systemd-tmpfiles --create
|
command: systemd-tmpfiles --create /etc/tmpfiles.d/run_http.conf
|
||||||
|
|
||||||
- name: restart nginx.service
|
- name: restart nginx.service
|
||||||
systemd:
|
systemd:
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
# The home-server project produces a multi-purpose setup using Ansible.
|
# The home-server project produces a multi-purpose setup using Ansible.
|
||||||
# Copyright © 2018 Y. Gablin, under the GPL-3.0-or-later license.
|
# Copyright © 2018–2023 Y. Gablin, under the GPL-3.0-or-later license.
|
||||||
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
||||||
|
|
||||||
dependencies:
|
dependencies:
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
# The home-server project produces a multi-purpose setup using Ansible.
|
# The home-server project produces a multi-purpose setup using Ansible.
|
||||||
# Copyright © 2018 Y. Gablin, under the GPL-3.0-or-later license.
|
# Copyright © 2018–2023 Y. Gablin, under the GPL-3.0-or-later license.
|
||||||
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
||||||
|
|
||||||
### UPSTREAM BEGIN ⇒ ###
|
### UPSTREAM BEGIN ⇒ ###
|
||||||
|
@ -10,13 +10,13 @@
|
||||||
msg: nginx
|
msg: nginx
|
||||||
### ⇐ UPSTREAM BEGIN ###
|
### ⇐ UPSTREAM BEGIN ###
|
||||||
|
|
||||||
- name: install software
|
#- name: install software
|
||||||
package:
|
# package:
|
||||||
name: "{{item}}"
|
# name: "{{item}}"
|
||||||
state: present
|
# state: present
|
||||||
with_items:
|
# with_items:
|
||||||
# - nginx-mainline # nginx-mainline must now be built from official PKGBUILD :-(
|
# - nginx-mainline # nginx-mainline must now be built from official PKGBUILD :-(
|
||||||
- php-fpm
|
# - php-fpm
|
||||||
|
|
||||||
### UPSTREAM END ⇒ ###
|
### UPSTREAM END ⇒ ###
|
||||||
- name: merge upstream
|
- name: merge upstream
|
||||||
|
@ -226,7 +226,7 @@
|
||||||
- user
|
- user
|
||||||
- group
|
- group
|
||||||
- 'listen.group'
|
- 'listen.group'
|
||||||
|
|
||||||
- name: set the PID file path for php-fpm
|
- name: set the PID file path for php-fpm
|
||||||
lineinfile:
|
lineinfile:
|
||||||
path: /etc/php/php-fpm.conf
|
path: /etc/php/php-fpm.conf
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
# The home-server project produces a multi-purpose setup using Ansible.
|
# The home-server project produces a multi-purpose setup using Ansible.
|
||||||
# Copyright © 2018 Y. Gablin, under the GPL-3.0-or-later license.
|
# Copyright © 2018–2023 Y. Gablin, under the GPL-3.0-or-later license.
|
||||||
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
# The home-server project produces a multi-purpose setup using Ansible.
|
# The home-server project produces a multi-purpose setup using Ansible.
|
||||||
# Copyright © 2018 Y. Gablin, under the GPL-3.0-or-later license.
|
# Copyright © 2018–2023 Y. Gablin, under the GPL-3.0-or-later license.
|
||||||
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
||||||
|
|
||||||
client_max_body_size {{http_max_upload}};
|
client_max_body_size {{http_max_upload}};
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
# The home-server project produces a multi-purpose setup using Ansible.
|
# The home-server project produces a multi-purpose setup using Ansible.
|
||||||
# Copyright © 2018 Y. Gablin, under the GPL-3.0-or-later license.
|
# Copyright © 2018–2023 Y. Gablin, under the GPL-3.0-or-later license.
|
||||||
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
||||||
|
|
||||||
location ~ (?i)(?<!{{http_pfx_dotclear}}/)admin|(?<!{{http_pfx_lam}}/templates/)login|(?<!{{http_pfx_dotclear}}/admin/)auth(?!or) {
|
location ~ (?i)(?<!{{http_pfx_dotclear}}/)admin|(?<!{{http_pfx_lam}}/templates/)login|(?<!{{http_pfx_dotclear}}/admin/)auth(?!or) {
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
# The home-server project produces a multi-purpose setup using Ansible.
|
# The home-server project produces a multi-purpose setup using Ansible.
|
||||||
# Copyright © 2018 Y. Gablin, under the GPL-3.0-or-later license.
|
# Copyright © 2018–2023 Y. Gablin, under the GPL-3.0-or-later license.
|
||||||
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
||||||
|
|
||||||
# http://wiki.nginx.org/Pitfalls#Passing_Uncontrolled_Requests_to_PHP
|
# http://wiki.nginx.org/Pitfalls#Passing_Uncontrolled_Requests_to_PHP
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
# The home-server project produces a multi-purpose setup using Ansible.
|
# The home-server project produces a multi-purpose setup using Ansible.
|
||||||
# Copyright © 2018 Y. Gablin, under the GPL-3.0-or-later license.
|
# Copyright © 2018–2023 Y. Gablin, under the GPL-3.0-or-later license.
|
||||||
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
||||||
|
|
||||||
# function /php...(doc_root /... prefix /... script /... pathinfo) {
|
# function /php...(doc_root /... prefix /... script /... pathinfo) {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
# The home-server project produces a multi-purpose setup using Ansible.
|
# The home-server project produces a multi-purpose setup using Ansible.
|
||||||
# Copyright © 2018 Y. Gablin, under the GPL-3.0-or-later license.
|
# Copyright © 2018–2023 Y. Gablin, under the GPL-3.0-or-later license.
|
||||||
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
||||||
|
|
||||||
- name: restart prosody.service
|
- name: restart prosody.service
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
# The home-server project produces a multi-purpose setup using Ansible.
|
# The home-server project produces a multi-purpose setup using Ansible.
|
||||||
# Copyright © 2018 Y. Gablin, under the GPL-3.0-or-later license.
|
# Copyright © 2018–2023 Y. Gablin, under the GPL-3.0-or-later license.
|
||||||
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
||||||
|
|
||||||
dependencies:
|
dependencies:
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
# The home-server project produces a multi-purpose setup using Ansible.
|
# The home-server project produces a multi-purpose setup using Ansible.
|
||||||
# Copyright © 2018 Y. Gablin, under the GPL-3.0-or-later license.
|
# Copyright © 2018–2023 Y. Gablin, under the GPL-3.0-or-later license.
|
||||||
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
||||||
|
|
||||||
### UPSTREAM BEGIN ⇒ ###
|
### UPSTREAM BEGIN ⇒ ###
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
# The home-server project produces a multi-purpose setup using Ansible.
|
# The home-server project produces a multi-purpose setup using Ansible.
|
||||||
# Copyright © 2018 Y. Gablin, under the GPL-3.0-or-later license.
|
# Copyright © 2018–2023 Y. Gablin, under the GPL-3.0-or-later license.
|
||||||
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
# The home-server project produces a multi-purpose setup using Ansible.
|
# The home-server project produces a multi-purpose setup using Ansible.
|
||||||
# Copyright © 2018 Y. Gablin, under the GPL-3.0-or-later license.
|
# Copyright © 2018–2023 Y. Gablin, under the GPL-3.0-or-later license.
|
||||||
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
||||||
|
|
||||||
- name: restart nginx.service
|
- name: restart nginx.service
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
# The home-server project produces a multi-purpose setup using Ansible.
|
# The home-server project produces a multi-purpose setup using Ansible.
|
||||||
# Copyright © 2018 Y. Gablin, under the GPL-3.0-or-later license.
|
# Copyright © 2018–2023 Y. Gablin, under the GPL-3.0-or-later license.
|
||||||
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
||||||
|
|
||||||
dependencies:
|
dependencies:
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
# The home-server project produces a multi-purpose setup using Ansible.
|
# The home-server project produces a multi-purpose setup using Ansible.
|
||||||
# Copyright © 2018 Y. Gablin, under the GPL-3.0-or-later license.
|
# Copyright © 2018–2023 Y. Gablin, under the GPL-3.0-or-later license.
|
||||||
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
||||||
|
|
||||||
### UPSTREAM BEGIN ⇒ ###
|
### UPSTREAM BEGIN ⇒ ###
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
# The home-server project produces a multi-purpose setup using Ansible.
|
# The home-server project produces a multi-purpose setup using Ansible.
|
||||||
# Copyright © 2018 Y. Gablin, under the GPL-3.0-or-later license.
|
# Copyright © 2018–2023 Y. Gablin, under the GPL-3.0-or-later license.
|
||||||
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
||||||
|
|
||||||
dependencies:
|
dependencies:
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
# The home-server project produces a multi-purpose setup using Ansible.
|
# The home-server project produces a multi-purpose setup using Ansible.
|
||||||
# Copyright © 2018 Y. Gablin, under the GPL-3.0-or-later license.
|
# Copyright © 2018–2023 Y. Gablin, under the GPL-3.0-or-later license.
|
||||||
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
||||||
|
|
||||||
- name: PostgreSQL user for dotClear
|
- name: PostgreSQL user for dotClear
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
# The home-server project produces a multi-purpose setup using Ansible.
|
# The home-server project produces a multi-purpose setup using Ansible.
|
||||||
# Copyright © 2018 Y. Gablin, under the GPL-3.0-or-later license.
|
# Copyright © 2018–2023 Y. Gablin, under the GPL-3.0-or-later license.
|
||||||
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
||||||
|
|
||||||
- name: restart dovecot.service
|
- name: restart dovecot.service
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
# The home-server project produces a multi-purpose setup using Ansible.
|
# The home-server project produces a multi-purpose setup using Ansible.
|
||||||
# Copyright © 2018 Y. Gablin, under the GPL-3.0-or-later license.
|
# Copyright © 2018–2023 Y. Gablin, under the GPL-3.0-or-later license.
|
||||||
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
||||||
|
|
||||||
dependencies:
|
dependencies:
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
# The home-server project produces a multi-purpose setup using Ansible.
|
# The home-server project produces a multi-purpose setup using Ansible.
|
||||||
# Copyright © 2018 Y. Gablin, under the GPL-3.0-or-later license.
|
# Copyright © 2018–2023 Y. Gablin, under the GPL-3.0-or-later license.
|
||||||
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
||||||
|
|
||||||
### UPSTREAM BEGIN ⇒ ###
|
### UPSTREAM BEGIN ⇒ ###
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
# The home-server project produces a multi-purpose setup using Ansible.
|
# The home-server project produces a multi-purpose setup using Ansible.
|
||||||
# Copyright © 2018 Y. Gablin, under the GPL-3.0-or-later license.
|
# Copyright © 2018–2023 Y. Gablin, under the GPL-3.0-or-later license.
|
||||||
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
||||||
|
|
||||||
# This file is opened as root, so it should be owned by root and mode 0600.
|
# This file is opened as root, so it should be owned by root and mode 0600.
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
# The home-server project produces a multi-purpose setup using Ansible.
|
# The home-server project produces a multi-purpose setup using Ansible.
|
||||||
# Copyright © 2018 Y. Gablin, under the GPL-3.0-or-later license.
|
# Copyright © 2018–2023 Y. Gablin, under the GPL-3.0-or-later license.
|
||||||
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
||||||
|
|
||||||
## Dovecot configuration file (/usr/share/doc/dovecot/example-config)
|
## Dovecot configuration file (/usr/share/doc/dovecot/example-config)
|
||||||
|
@ -51,15 +51,15 @@ service imap-login {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
service lmtp {
|
service lmtp {
|
||||||
#unix_listener /run/shared_sockets/lmtp {
|
unix_listener /run/shared_sockets/lmtp {
|
||||||
# mode = 0666
|
mode = 0666
|
||||||
#}
|
}
|
||||||
# Create inet listener only if you can't use the above UNIX socket
|
# Create inet listener only if you can't use the above UNIX socket
|
||||||
# https://yalis.fr/git/yves/home-server/issues/6
|
# https://yalis.fr/git/yves/home-server/issues/6
|
||||||
inet_listener lmtp {
|
#inet_listener lmtp {
|
||||||
address = {{SafeZone_IP}}
|
# address = {{SafeZone_IP}}
|
||||||
port = 24
|
# port = 24
|
||||||
}
|
#}
|
||||||
}
|
}
|
||||||
service imap {
|
service imap {
|
||||||
}
|
}
|
||||||
|
@ -75,8 +75,8 @@ service auth-worker {
|
||||||
# # For example: mode=0660, group=vmail and global mail_access_groups=vmail
|
# # For example: mode=0660, group=vmail and global mail_access_groups=vmail
|
||||||
# unix_listener dict {
|
# unix_listener dict {
|
||||||
# #mode = 0600
|
# #mode = 0600
|
||||||
# #user =
|
# #user =
|
||||||
# #group =
|
# #group =
|
||||||
# }
|
# }
|
||||||
#}
|
#}
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
# The home-server project produces a multi-purpose setup using Ansible.
|
# The home-server project produces a multi-purpose setup using Ansible.
|
||||||
# Copyright © 2018 Y. Gablin, under the GPL-3.0-or-later license.
|
# Copyright © 2018–2023 Y. Gablin, under the GPL-3.0-or-later license.
|
||||||
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
||||||
|
|
||||||
- name: install etckeeper
|
- name: install etckeeper
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
# The home-server project produces a multi-purpose setup using Ansible.
|
# The home-server project produces a multi-purpose setup using Ansible.
|
||||||
# Copyright © 2018 Y. Gablin, under the GPL-3.0-or-later license.
|
# Copyright © 2018–2023 Y. Gablin, under the GPL-3.0-or-later license.
|
||||||
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
||||||
|
|
||||||
- name: store /etc changes
|
- name: store /etc changes
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
# The home-server project produces a multi-purpose setup using Ansible.
|
# The home-server project produces a multi-purpose setup using Ansible.
|
||||||
# Copyright © 2018 Y. Gablin, under the GPL-3.0-or-later license.
|
# Copyright © 2018–2023 Y. Gablin, under the GPL-3.0-or-later license.
|
||||||
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
||||||
|
|
||||||
- name: switch Git to run
|
- name: switch Git to run
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
# The home-server project produces a multi-purpose setup using Ansible.
|
# The home-server project produces a multi-purpose setup using Ansible.
|
||||||
# Copyright © 2018 Y. Gablin, under the GPL-3.0-or-later license.
|
# Copyright © 2018–2023 Y. Gablin, under the GPL-3.0-or-later license.
|
||||||
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
||||||
|
|
||||||
- name: switch Git to master
|
- name: switch Git to master
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
# The home-server project produces a multi-purpose setup using Ansible.
|
# The home-server project produces a multi-purpose setup using Ansible.
|
||||||
# Copyright © 2018 Y. Gablin, under the GPL-3.0-or-later license.
|
# Copyright © 2018–2023 Y. Gablin, under the GPL-3.0-or-later license.
|
||||||
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
||||||
|
|
||||||
[Exec]
|
[Exec]
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
# The home-server project produces a multi-purpose setup using Ansible.
|
# The home-server project produces a multi-purpose setup using Ansible.
|
||||||
# Copyright © 2018 Y. Gablin, under the GPL-3.0-or-later license.
|
# Copyright © 2018–2023 Y. Gablin, under the GPL-3.0-or-later license.
|
||||||
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
||||||
|
|
||||||
[Unit]
|
[Unit]
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
# The home-server project produces a multi-purpose setup using Ansible.
|
# The home-server project produces a multi-purpose setup using Ansible.
|
||||||
# Copyright © 2018 Y. Gablin, under the GPL-3.0-or-later license.
|
# Copyright © 2018–2023 Y. Gablin, under the GPL-3.0-or-later license.
|
||||||
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
||||||
|
|
||||||
dependencies:
|
dependencies:
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
# The home-server project produces a multi-purpose setup using Ansible.
|
# The home-server project produces a multi-purpose setup using Ansible.
|
||||||
# Copyright © 2018 Y. Gablin, under the GPL-3.0-or-later license.
|
# Copyright © 2018–2023 Y. Gablin, under the GPL-3.0-or-later license.
|
||||||
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
||||||
|
|
||||||
### UPSTREAM BEGIN ⇒ ###
|
### UPSTREAM BEGIN ⇒ ###
|
||||||
|
@ -40,10 +40,10 @@
|
||||||
shell: >
|
shell: >
|
||||||
pacstrap -c -d {{front_dir}}
|
pacstrap -c -d {{front_dir}}
|
||||||
$(
|
$(
|
||||||
pacman -Qg base
|
LANG=C pacman -Si base
|
||||||
| grep -vE
|
| sed -nr 's/^Depends[^:]*: *//;t ok;b;: ok;s/ +/\n/g;p;q'
|
||||||
' (bzip2|dhcpcd|gzip|licenses|linux|lvm2|mdadm|pciutils|reiserfsprogs|systemd-sysvcompat|texinfo|usbutils|xfsprogs)$'
|
| grep -vxE
|
||||||
| cut -d' ' -f2
|
'bzip2|dhcpcd|gzip|licenses|linux|lvm2|mdadm|pciutils|reiserfsprogs|systemd-sysvcompat|texinfo|usbutils|xfsprogs'
|
||||||
)
|
)
|
||||||
busybox openssh python etckeeper
|
busybox openssh python etckeeper
|
||||||
args:
|
args:
|
||||||
|
@ -55,6 +55,8 @@
|
||||||
arch-chroot {{front_dir}} /usr/bin/busybox --install
|
arch-chroot {{front_dir}} /usr/bin/busybox --install
|
||||||
args:
|
args:
|
||||||
creates: "{{front_dir}}/usr/bin/ash"
|
creates: "{{front_dir}}/usr/bin/ash"
|
||||||
|
when:
|
||||||
|
- (arch.changed)
|
||||||
|
|
||||||
- name: … but not for some binaries
|
- name: … but not for some binaries
|
||||||
file:
|
file:
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
# $1: bash script; $2…: arguments (bash -c "…script…" 'bash' …arguments…)
|
# $1: bash script; $2…: arguments (bash -c "…script…" 'bash' …arguments…)
|
||||||
#
|
#
|
||||||
# The home-server project produces a multi-purpose setup using Ansible.
|
# The home-server project produces a multi-purpose setup using Ansible.
|
||||||
# Copyright © 2018 Y. Gablin, under the GPL-3.0-or-later license.
|
# Copyright © 2018–2023 Y. Gablin, under the GPL-3.0-or-later license.
|
||||||
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
||||||
|
|
||||||
cmd="$1"; shift
|
cmd="$1"; shift
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
# The home-server project produces a multi-purpose setup using Ansible.
|
# The home-server project produces a multi-purpose setup using Ansible.
|
||||||
# Copyright © 2018 Y. Gablin, under the GPL-3.0-or-later license.
|
# Copyright © 2018–2023 Y. Gablin, under the GPL-3.0-or-later license.
|
||||||
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
||||||
|
|
||||||
front_dir: /var/lib/machines/{{DMZ}}
|
front_dir: /var/lib/machines/{{DMZ}}
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
# The home-server project produces a multi-purpose setup using Ansible.
|
# The home-server project produces a multi-purpose setup using Ansible.
|
||||||
# Copyright © 2018 Y. Gablin, under the GPL-3.0-or-later license.
|
# Copyright © 2018–2023 Y. Gablin, under the GPL-3.0-or-later license.
|
||||||
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
||||||
|
|
||||||
- name: restart DMZ
|
- name: restart DMZ
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
# The home-server project produces a multi-purpose setup using Ansible.
|
# The home-server project produces a multi-purpose setup using Ansible.
|
||||||
# Copyright © 2018 Y. Gablin, under the GPL-3.0-or-later license.
|
# Copyright © 2018–2023 Y. Gablin, under the GPL-3.0-or-later license.
|
||||||
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
||||||
|
|
||||||
dependencies:
|
dependencies:
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
# The home-server project produces a multi-purpose setup using Ansible.
|
# The home-server project produces a multi-purpose setup using Ansible.
|
||||||
# Copyright © 2018 Y. Gablin, under the GPL-3.0-or-later license.
|
# Copyright © 2018–2023 Y. Gablin, under the GPL-3.0-or-later license.
|
||||||
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
||||||
|
|
||||||
- name: start systemd-nspawn@{{DMZ}}.service
|
- name: start systemd-nspawn@{{DMZ}}.service
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
# The home-server project produces a multi-purpose setup using Ansible.
|
# The home-server project produces a multi-purpose setup using Ansible.
|
||||||
# Copyright © 2018 Y. Gablin, under the GPL-3.0-or-later license.
|
# Copyright © 2018–2023 Y. Gablin, under the GPL-3.0-or-later license.
|
||||||
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
||||||
|
|
||||||
- name: restart gitea.service
|
- name: restart gitea.service
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
# The home-server project produces a multi-purpose setup using Ansible.
|
# The home-server project produces a multi-purpose setup using Ansible.
|
||||||
# Copyright © 2018 Y. Gablin, under the GPL-3.0-or-later license.
|
# Copyright © 2018–2023 Y. Gablin, under the GPL-3.0-or-later license.
|
||||||
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
||||||
|
|
||||||
dependencies:
|
dependencies:
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
# The home-server project produces a multi-purpose setup using Ansible.
|
# The home-server project produces a multi-purpose setup using Ansible.
|
||||||
# Copyright © 2018 Y. Gablin, under the GPL-3.0-or-later license.
|
# Copyright © 2018–2023 Y. Gablin, under the GPL-3.0-or-later license.
|
||||||
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
||||||
|
|
||||||
### UPSTREAM BEGIN ⇒ ###
|
### UPSTREAM BEGIN ⇒ ###
|
||||||
|
@ -44,7 +44,7 @@
|
||||||
- name: create Gitea configuration file
|
- name: create Gitea configuration file
|
||||||
file:
|
file:
|
||||||
path: /etc/gitea/app.ini
|
path: /etc/gitea/app.ini
|
||||||
state: file
|
state: touch
|
||||||
|
|
||||||
- name: make sure the Gitea user owns its work-directories
|
- name: make sure the Gitea user owns its work-directories
|
||||||
file:
|
file:
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
# The home-server project produces a multi-purpose setup using Ansible.
|
# The home-server project produces a multi-purpose setup using Ansible.
|
||||||
# Copyright © 2018 Y. Gablin, under the GPL-3.0-or-later license.
|
# Copyright © 2018–2023 Y. Gablin, under the GPL-3.0-or-later license.
|
||||||
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
||||||
|
|
||||||
if [ ${0:0:1} == / ]; then
|
if [ ${0:0:1} == / ]; then
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# The home-server project produces a multi-purpose setup using Ansible.
|
# The home-server project produces a multi-purpose setup using Ansible.
|
||||||
# Copyright © 2018 Y. Gablin, under the GPL-3.0-or-later license.
|
# Copyright © 2018–2023 Y. Gablin, under the GPL-3.0-or-later license.
|
||||||
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
||||||
|
|
||||||
. "$(dirname "$0")/.etc_checkroot.inc"
|
. "$(dirname "$0")/.etc_checkroot.inc"
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# The home-server project produces a multi-purpose setup using Ansible.
|
# The home-server project produces a multi-purpose setup using Ansible.
|
||||||
# Copyright © 2018 Y. Gablin, under the GPL-3.0-or-later license.
|
# Copyright © 2018–2023 Y. Gablin, under the GPL-3.0-or-later license.
|
||||||
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
||||||
|
|
||||||
. "$(dirname "$0")/.etc_checkroot.inc"
|
. "$(dirname "$0")/.etc_checkroot.inc"
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# The home-server project produces a multi-purpose setup using Ansible.
|
# The home-server project produces a multi-purpose setup using Ansible.
|
||||||
# Copyright © 2018 Y. Gablin, under the GPL-3.0-or-later license.
|
# Copyright © 2018–2023 Y. Gablin, under the GPL-3.0-or-later license.
|
||||||
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
||||||
|
|
||||||
. "$(dirname "$0")/.etc_checkroot.inc"
|
. "$(dirname "$0")/.etc_checkroot.inc"
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
# The home-server project produces a multi-purpose setup using Ansible.
|
# The home-server project produces a multi-purpose setup using Ansible.
|
||||||
# Copyright © 2018 Y. Gablin, under the GPL-3.0-or-later license.
|
# Copyright © 2018–2023 Y. Gablin, under the GPL-3.0-or-later license.
|
||||||
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
||||||
|
|
||||||
# WARNING: This file may be used inside a mounted chroot.
|
# WARNING: This file may be used inside a mounted chroot.
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# The home-server project produces a multi-purpose setup using Ansible.
|
# The home-server project produces a multi-purpose setup using Ansible.
|
||||||
# Copyright © 2018 Y. Gablin, under the GPL-3.0-or-later license.
|
# Copyright © 2018–2023 Y. Gablin, under the GPL-3.0-or-later license.
|
||||||
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
||||||
|
|
||||||
. "$(dirname "$0")/.etc_checkroot.inc"
|
. "$(dirname "$0")/.etc_checkroot.inc"
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue