Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
Deployment
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
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
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
freva
Deployment
Commits
2b019ae9
Commit
2b019ae9
authored
2 years ago
by
Martin Bergemann
Browse files
Options
Downloads
Plain Diff
Merge branch 'use-abset' into 'master'
Use absent See merge request
!48
parents
a1bf337c
8072b9d2
No related branches found
Branches containing commit
No related tags found
1 merge request
!48
Use absent
Pipeline
#21724
passed
2 years ago
Stage: doc
Stage: deploy
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
assets/playbooks/db-server-playbook.yml
+5
-3
5 additions, 3 deletions
assets/playbooks/db-server-playbook.yml
assets/playbooks/solr-server-playbook.yml
+5
-3
5 additions, 3 deletions
assets/playbooks/solr-server-playbook.yml
with
10 additions
and
6 deletions
assets/playbooks/db-server-playbook.yml
+
5
−
3
View file @
2b019ae9
...
...
@@ -50,9 +50,6 @@
stat
:
path
:
/etc/cron.daily
register
:
cron
-
name
:
Deleting config file
shell
:
rm -rf /root/freva-service-config/
warn
:
false
-
name
:
Stopping services and deleting existing containers
shell
:
>
/usr/local/bin/docker-or-podman stop {{db_name}};
...
...
@@ -62,6 +59,11 @@
echo 0
become
:
true
ignore_errors
:
true
-
name
:
Deleting config file
file
:
state
:
absent
force
:
true
path
:
"
/root/freva-service-config/"
-
name
:
Pulling container
become
:
true
shell
:
/usr/local/bin/docker-or-podman pull mariadb:latest
...
...
This diff is collapsed.
Click to expand it.
assets/playbooks/solr-server-playbook.yml
+
5
−
3
View file @
2b019ae9
...
...
@@ -30,9 +30,6 @@
stat
:
path
:
/etc/cron.daily
register
:
cron
-
name
:
Deleting config file
shell
:
rm -rf /root/freva-service-config/
warn
:
false
-
name
:
Stopping services and deleting existing containers
shell
:
>
systemctl stop {{solr_name}};
...
...
@@ -43,6 +40,11 @@
ignore_errors
:
true
become
:
true
-
pause
:
seconds=5
-
name
:
Deleting config file
file
:
state
:
absent
force
:
true
path
:
"
/root/freva-service-config/"
-
name
:
Creating docker network
shell
:
>
/usr/local/bin/docker-or-podman network create "{{ project_name }}";
...
...
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