Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Lets Encrypt
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Service Desk
Analyze
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
Ansible
Roles
Lets Encrypt
Commits
009b33c0
Commit
009b33c0
authored
7 years ago
by
jurgenhaas
Browse files
Options
Downloads
Patches
Plain Diff
Replace deprecated "include" directive in Ansible 2.4
parent
e226ccf2
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
handlers/main.yml
+1
-1
1 addition, 1 deletion
handlers/main.yml
tasks/main.yml
+3
-3
3 additions, 3 deletions
tasks/main.yml
tasks/renew.yml
+1
-1
1 addition, 1 deletion
tasks/renew.yml
with
5 additions
and
5 deletions
handlers/main.yml
+
1
−
1
View file @
009b33c0
---
# file: roles/letsencrypt/handler/main.yml
-
include
:
'
../../haproxy/handlers/main.yml'
-
include
_tasks
:
'
../../haproxy/handlers/main.yml'
This diff is collapsed.
Click to expand it.
tasks/main.yml
+
3
−
3
View file @
009b33c0
...
...
@@ -20,14 +20,14 @@
changed_when
:
false
tags
:
'
always'
-
include
:
install.yml
-
include
_tasks
:
install.yml
-
include
:
cert.yml
-
include
_tasks
:
cert.yml
with_items
:
'
{{
letsencrypt_certificates|default([])
}}'
loop_control
:
loop_var
:
domain
-
include
:
renew.yml
-
include
_tasks
:
renew.yml
when
:
letsencrypt_certs_available is defined and letsencrypt_certs_available.stat.exists and (proxy_active is not defined or proxy_active)
tags
:
'
renew'
...
...
This diff is collapsed.
Click to expand it.
tasks/renew.yml
+
1
−
1
View file @
009b33c0
...
...
@@ -34,7 +34,7 @@
state
:
'
absent'
-
name
:
"
Build
HaProxy
Certs"
include
:
'
../../haproxy/tasks/buildcerts.yml'
include
_tasks
:
'
../../haproxy/tasks/buildcerts.yml'
when
:
"
'No
renewals
were
attempted.'
not
in
renew_result.stdout"
-
name
:
"
Start
services"
...
...
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