Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
ansible-certbot
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
hdacloud
ansible-certbot
Commits
026672dd
Commit
026672dd
authored
1 year ago
by
Alexander Käb
Browse files
Options
Downloads
Patches
Plain Diff
other: add better example in readme
parent
53b98f09
No related branches found
No related tags found
1 merge request
!5
cleanup: remove distribution specific task files and strip dns renewal hook
Pipeline
#185734
passed
1 year ago
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+21
-2
21 additions, 2 deletions
README.md
with
21 additions
and
2 deletions
README.md
+
21
−
2
View file @
026672dd
...
...
@@ -49,10 +49,29 @@ roles:
version
:
main
```
#### Example using DNS challenge with designate provider
```
yaml
-
hosts
:
all
roles
:
-
hdacloud.certbot
tasks
:
-
name
:
Obtain certificate
ansible.builtin.import_role
:
name
:
hdacloud.certs
vars
:
cert_fqdns
:
-
"
{{
my_fqdn
}}"
admin_email
:
"
admin@example.org"
dns_challenge
:
true
lego_version
:
"
4.11.0"
lego_dns_provider
:
"
designate"
dns_provider_auth_env_variables
:
OS_AUTH_URL
:
"
https://h-da.cloud:13000"
OS_REGION_NAME
:
"
eu-central"
OS_AUTH_TYP
:
"
v3applicationcredential"
OS_APPLICATION_CREDENTIAL_ID
:
"
{{
os_application_credential_id
}}"
OS_APPLICATION_CREDENTIAL_SECRET
:
"
{{
os_application_credential_secret
}}"
renewal_hook
:
|
#!/usr/bin/env bash
systemctl restart httpd
```
### Info when using DNS challenge
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment