Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
lilypad
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Monitor
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
leap
Container Platform
lilypad
Commits
0094fe8d
Commit
0094fe8d
authored
1 month ago
by
sgk
Browse files
Options
Downloads
Patches
Plain Diff
CI debug commit
parent
6f3333e5
No related branches found
No related tags found
No related merge requests found
Pipeline
#258533
failed
2 weeks ago
Stage: float-run-validation
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
config/roles/menshen-frontend/tasks/main.yml
+13
-0
13 additions, 0 deletions
config/roles/menshen-frontend/tasks/main.yml
with
13 additions
and
0 deletions
config/roles/menshen-frontend/tasks/main.yml
+
13
−
0
View file @
0094fe8d
...
...
@@ -59,6 +59,10 @@
# v3 compatability
#End-block-apiv3
-
name
:
Run nginx -t to test configuration before
command
:
nginx -t
register
:
nginx_test
-
name
:
Insert block below server_name domain.com;
lineinfile
:
path
:
/etc/nginx/sites-available/float.conf
...
...
@@ -75,6 +79,15 @@
## end block
#End-block-apiv5
-
name
:
show /etc/nginx/sites-available/float.conf
slurp
:
src
:
/etc/nginx/sites-available/float.conf
register
:
nginx_conf_content
-
name
:
Display nginx configuration file content
debug
:
msg
:
"
{{
nginx_conf_content.content
}}"
-
name
:
Run nginx -t to test configuration
command
:
nginx -t
register
:
nginx_test
...
...
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