Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
oracle
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
oracle
Commits
20658b56
Commit
20658b56
authored
5 months ago
by
jurgenhaas
Browse files
Options
Downloads
Patches
Plain Diff
SV-255740 Datenbank 03-Vereine Tineon 1 ist nicht erreichbar
parent
d5eacf6d
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
tasks/configure.yml
+1
-0
1 addition, 0 deletions
tasks/configure.yml
tasks/instance.yml
+4
-0
4 additions, 0 deletions
tasks/instance.yml
with
5 additions
and
0 deletions
tasks/configure.yml
+
1
−
0
View file @
20658b56
...
...
@@ -63,6 +63,7 @@
with_items
:
'
{{
oracle_instances|default([])
}}'
loop_control
:
loop_var
:
oracle
tags
:
instancesonly
-
name
:
Install cron job for backups
cron
:
...
...
This diff is collapsed.
Click to expand it.
tasks/instance.yml
+
4
−
0
View file @
20658b56
...
...
@@ -5,6 +5,7 @@
stat
:
path
:
/opt/oracle/oracle-xe-{{ oracle.id }}
register
:
instance_db_dir
tags
:
instancesonly
-
block
:
...
...
@@ -33,6 +34,7 @@
-
setup.sh
-
setup.sql
tags
:
instancesonly
when
:
not instance_db_dir.stat.exists
-
name
:
Create an oracle container
...
...
@@ -49,6 +51,7 @@
-
/opt/oracle/oracle-xe-{{ oracle.id }}:/opt/oracle/oradata
-
/opt/oracle/scripts:/usr/local/sbin
-
/var/backups/oracle:/var/backups/oracle
tags
:
instancesonly
-
block
:
...
...
@@ -59,4 +62,5 @@
-
name
:
Execute basic setup
shell
:
docker exec oracle-xe-{{ oracle.id }} bash -c "source /home/oracle/.bashrc; /opt/oracle/oradata/scripts/setup.sh"
tags
:
instancesonly
when
:
not instance_db_dir.stat.exists
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