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
a7feeb33
Commit
a7feeb33
authored
5 years ago
by
jurgenhaas
Browse files
Options
Downloads
Patches
Plain Diff
ansible-playbooks/general#85 Linting
parent
bb776089
Branches
Branches containing commit
Tags
v3.0.12
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
defaults/main.yml
+2
-0
2 additions, 0 deletions
defaults/main.yml
tasks/main.yml
+17
-17
17 additions, 17 deletions
tasks/main.yml
with
19 additions
and
17 deletions
defaults/main.yml
+
2
−
0
View file @
a7feeb33
---
# General
# General
oracle_version
:
11.2.0
oracle_version
:
11.2.0
oracle_schema
:
ver_{{inventory_hostname}}
oracle_schema
:
ver_{{inventory_hostname}}
...
...
This diff is collapsed.
Click to expand it.
tasks/main.yml
+
17
−
17
View file @
a7feeb33
...
@@ -9,25 +9,25 @@
...
@@ -9,25 +9,25 @@
-
block
:
-
block
:
-
name
:
Install essential packages
-
name
:
Install essential packages
apt
:
apt
:
pkg
:
'
{{
packages
}}'
pkg
:
'
{{
packages
}}'
state
:
present
state
:
present
update_cache
:
yes
update_cache
:
yes
vars
:
vars
:
packages
:
packages
:
-
alien
-
alien
-
libaio1
-
libaio1
-
bc
-
bc
-
name
:
Check current status
-
name
:
Check current status
shell
:
ls /u01/app/oracle/product
shell
:
ls /u01/app/oracle/product
register
:
last_result
register
:
last_result
ignore_errors
:
yes
ignore_errors
:
yes
-
import_tasks
:
prepare.yml
-
import_tasks
:
prepare.yml
when
:
last_result is defined and last_result.stdout != oracle_version
when
:
last_result is defined and last_result.stdout != oracle_version
-
import_tasks
:
configure.yml
-
import_tasks
:
configure.yml
when
:
not excluded_roles or "oracle" not in excluded_roles
when
:
not excluded_roles or "oracle" not in excluded_roles
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