Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Arch Linux
infrastructure
Commits
a9100c3d
Commit
a9100c3d
authored
Oct 20, 2017
by
Florian Pritz
Browse files
Fix typo in ssl cert creation
Signed-off-by:
Florian Pritz
<
bluewind@xinu.at
>
parent
86147086
Changes
4
Hide whitespace changes
Inline
Side-by-side
roles/dbscripts/tasks/main.yml
View file @
a9100c3d
...
...
@@ -19,7 +19,7 @@
copy
:
src=sudoers.d dest=/etc/sudoers.d/dbscripts owner=root group=root mode=0600
-
name
:
create ssl cert
command
:
certbot certonly --email webmaster@archlinux.org --agree-tos --rsa-key-size 4096 --renew-by-default --webroot -w {{letsencrypt_validation_dir}} -d '{{ repos_domain }}' create='/etc/letsencrypt/live/{{ repos_domain }}/fullchain.pem'
command
:
certbot certonly --email webmaster@archlinux.org --agree-tos --rsa-key-size 4096 --renew-by-default --webroot -w {{letsencrypt_validation_dir}} -d '{{ repos_domain }}' create
s
='/etc/letsencrypt/live/{{ repos_domain }}/fullchain.pem'
-
name
:
set up nginx
template
:
src=nginx.d.conf.j2 dest=/etc/nginx/nginx.d/dbscripts.conf owner=root group=root mode=0644
...
...
roles/matrix/tasks/main.yml
View file @
a9100c3d
---
-
name
:
create ssl cert
command
:
certbot certonly --email webmaster@archlinux.org --agree-tos --rsa-key-size 4096 --renew-by-default --webroot -w {{letsencrypt_validation_dir}} -d '{{ matrix_domain }}' create='/etc/letsencrypt/live/{{ matrix_domain }}/fullchain.pem'
command
:
certbot certonly --email webmaster@archlinux.org --agree-tos --rsa-key-size 4096 --renew-by-default --webroot -w {{letsencrypt_validation_dir}} -d '{{ matrix_domain }}' create
s
='/etc/letsencrypt/live/{{ matrix_domain }}/fullchain.pem'
when
:
'
matrix_domain
!=
""'
-
name
:
install packages
...
...
roles/public_html/tasks/main.yml
View file @
a9100c3d
---
-
name
:
create ssl cert
command
:
certbot certonly --email webmaster@archlinux.org --agree-tos --rsa-key-size 4096 --renew-by-default --webroot -w {{letsencrypt_validation_dir}} -d '{{ public_domain }}' create='/etc/letsencrypt/live/{{ public_domain }}/fullchain.pem'
command
:
certbot certonly --email webmaster@archlinux.org --agree-tos --rsa-key-size 4096 --renew-by-default --webroot -w {{letsencrypt_validation_dir}} -d '{{ public_domain }}' create
s
='/etc/letsencrypt/live/{{ public_domain }}/fullchain.pem'
-
name
:
copy webroot files
copy
:
src=public_html dest=/srv owner=root group=root mode=0644 directory_mode=0755
...
...
roles/syncrepo/tasks/main.yml
View file @
a9100c3d
---
-
name
:
create ssl cert
command
:
certbot certonly --email webmaster@archlinux.org --agree-tos --rsa-key-size 4096 --renew-by-default --webroot -w {{letsencrypt_validation_dir}} -d '{{ mirror_domain }}' create='/etc/letsencrypt/live/{{ mirror_domain }}/fullchain.pem'
command
:
certbot certonly --email webmaster@archlinux.org --agree-tos --rsa-key-size 4096 --renew-by-default --webroot -w {{letsencrypt_validation_dir}} -d '{{ mirror_domain }}' create
s
='/etc/letsencrypt/live/{{ mirror_domain }}/fullchain.pem'
when
:
'
mirror_domain
!=
""'
-
name
:
install rsync
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment