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
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ai3
float
Commits
828e08ed
Commit
828e08ed
authored
5 years ago
by
godog
Browse files
Options
Downloads
Patches
Plain Diff
public-ssl-cert: change permissions only on file creation
parent
776b02ea
No related branches found
No related tags found
1 merge request
!59
public-ssl-cert: change permissions only on file creation
Pipeline
#4444
failed
5 years ago
Stage: test
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
roles/public-ssl-cert/tasks/main.yml
+2
-0
2 additions, 0 deletions
roles/public-ssl-cert/tasks/main.yml
with
2 additions
and
0 deletions
roles/public-ssl-cert/tasks/main.yml
+
2
−
0
View file @
828e08ed
...
...
@@ -19,9 +19,11 @@
shell
:
"
openssl
req
-x509
-newkey
rsa:2048
-keyout
/etc/credentials/public/{{
cn
}}/privkey.pem
-nodes
-out
/etc/credentials/public/{{
cn
}}/fullchain.pem
-days
3650
-subj
'/CN={{
cn
}}'"
args
:
creates
:
"
/etc/credentials/public/{{
cn
}}/fullchain.pem"
register
:
ssl_cert_selfsigned
-
file
:
path
:
"
/etc/credentials/public/{{
cn
}}/privkey.pem"
owner
:
root
group
:
public-credentials
mode
:
0440
when
:
ssl_cert_selfsigned.changed
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