Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
float
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Container registry
Model registry
Operate
Environments
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
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
ai3
float
Commits
153c0b49
Commit
153c0b49
authored
5 years ago
by
ale
Browse files
Options
Downloads
Patches
Plain Diff
Remove item references in task names
parent
daa5c64f
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
roles/credentials/tasks/install_certs.yml
+5
-5
5 additions, 5 deletions
roles/credentials/tasks/install_certs.yml
with
5 additions
and
5 deletions
roles/credentials/tasks/install_certs.yml
+
5
−
5
View file @
153c0b49
...
...
@@ -12,7 +12,7 @@
state
:
directory
loop
:
"
{{
float_host_service_credentials_certs
}}"
-
name
:
"
Check
the
certificate
for
{{
item.credentials.name
}}/{{
item.mode
}}
"
-
name
:
"
Check
the
internal
PKI
certificates
"
x509_csr
:
credentials_name
:
"
{{
item.credentials.name
}}"
domain
:
"
{{
domain
}}"
...
...
@@ -27,7 +27,7 @@
register
:
x509_should_update
# TODO: set the right permissions (credentials.name-credentials)
-
name
:
"
Create
the
CSR
for
{{
item.0.credentials.name
}}/{{
item.0.mode
}}
"
-
name
:
"
Create
internal
PKI
CSRs
"
x509_csr
:
credentials_name
:
"
{{
item.0.credentials.name
}}"
domain
:
"
{{
domain
}}"
...
...
@@ -39,7 +39,7 @@
loop
:
"
{{
float_host_service_credentials_certs
|
zip(x509_should_update.results)
|
list
}}"
register
:
x509_csr
-
name
:
"
Create
the
certificate
for
{{
item.0.credentials.name
}}/{{
item.0.mode
}}
"
-
name
:
"
Sign
internal
PKI
certificates
"
x509_sign
:
csr
:
"
{{
item.1.csr
}}"
mode
:
"
{{
item.0.mode
}}"
...
...
@@ -49,7 +49,7 @@
loop
:
"
{{
float_host_service_credentials_certs
|
zip(x509_csr.results)
|
list
}}"
register
:
x509_sign
-
name
:
"
Install
the
signed
certificate
for
{{
item.0.credentials.name
}}/{{
item.0.mode
}}
"
-
name
:
"
Install
the
signed
internal
PKI
certificates
"
copy
:
dest
:
"
/etc/credentials/x509/{{
item.0.credentials.name
}}/{{
item.0.mode
}}/cert.pem"
content
:
"
{{
item.1.cert
}}"
...
...
@@ -57,7 +57,7 @@
when
:
"
item.1.changed"
loop
:
"
{{
float_host_service_credentials_certs
|
zip(x509_sign.results)
|
list
}}"
-
name
:
Set permissions on the private key
-
name
:
"
Set
permissions
on
the
private
key
s"
file
:
path
:
"
/etc/credentials/x509/{{
item.credentials.name
}}/{{
item.mode
}}/private_key.pem"
group
:
"
{{
item.credentials.name
}}-credentials"
...
...
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