Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F1841710
certbot.yml
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
809 B
Referenced Files
None
Subscribers
None
certbot.yml
View Options
---
-
name
:
Check if the file already exists
stat
:
path
:
/etc/letsencrypt/live/{{ hostname }}
register
:
stat_result
-
name
:
certbot
block
:
-
name
:
stop firewall
ansible.builtin.service
:
name
:
firewalld
state
:
stopped
-
name
:
Create letsencrypt certificate
shell
:
certbot certonly --standalone -d {{ hostname }} --staple-ocsp -m test@{{ hostname }} --agree-tos
args
:
creates
:
/etc/letsencrypt/live/{{ hostname }}
-
name
:
chmod letsencrypt certificate live
shell
:
chmod 755 /etc/letsencrypt/live
-
name
:
chmod letsencrypt certificate archive
shell
:
chmod 755 /etc/letsencrypt/archive
-
name
:
start firewall
ansible.builtin.service
:
name
:
firewalld
state
:
started
when
:
not stat_result.stat.exists
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Aug 25, 3:41 PM (1 d, 19 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
203770
Default Alt Text
certbot.yml (809 B)
Attached To
Mode
R2 kolab
Attached
Detach File
Event Timeline
Log In to Comment