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
69cd91bd
Commit
69cd91bd
authored
9 years ago
by
jurgenhaas
Browse files
Options
Downloads
Patches
Plain Diff
Remove deprecation warnings from Ansible 2.0.1.0
parent
56c69c7a
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
+4
-4
4 additions, 4 deletions
tasks/configure.yml
tasks/prepare.yml
+5
-5
5 additions, 5 deletions
tasks/prepare.yml
with
9 additions
and
9 deletions
tasks/configure.yml
+
4
−
4
View file @
69cd91bd
...
...
@@ -42,7 +42,7 @@
owner=root
group=root
mode=755
with_items
:
oracle_demo_reset_items
with_items
:
'
{{
oracle_demo_reset_items
}}'
-
name
:
Oracle Reset Demo | copy user specific sql file
template
:
src=demo_drop_create.sql
...
...
@@ -50,7 +50,7 @@
owner=root
group=root
mode=755
with_items
:
oracle_demo_reset_items
with_items
:
'
{{
oracle_demo_reset_items
}}'
-
name
:
Oracle Reset Demo | copy Sql files
copy
:
src={{item.user}}.dmp
...
...
@@ -58,7 +58,7 @@
owner=root
group=root
mode=644
with_items
:
oracle_demo_reset_items
with_items
:
'
{{
oracle_demo_reset_items
}}'
-
name
:
Oracle Reset Demo | copy general Sql files
copy
:
src={{item}}
...
...
@@ -76,7 +76,7 @@
hour='0'
minute='5'
job='/opt/demo_reset/{{item}}_reset.sh >/dev/null 2>&1'
with_items
:
oracle_reset
with_items
:
'
{{
oracle_reset
}}'
-
name
:
Oracle Logging | Turn off logging and tracing
lineinfile
:
dest=/u01/app/oracle/product/11.2.0/xe/network/admin/listener.ora
...
...
This diff is collapsed.
Click to expand it.
tasks/prepare.yml
+
5
−
5
View file @
69cd91bd
...
...
@@ -93,11 +93,11 @@
subversion
:
repo='{{item.svn}}'
dest='/tmp/{{item.pathname}}'
become
:
no
with_items
:
oracle_svn_installs
with_items
:
'
{{
oracle_svn_installs
}}'
-
name
:
Oracle | Concatenate install files
shell
:
cat /tmp/{{item.pathname}}/*.sql > /opt/{{item.pathname}}.sql
with_items
:
oracle_svn_installs
with_items
:
'
{{
oracle_svn_installs
}}'
-
name
:
Oracle | Copy basic setup files
template
:
src={{item}}
...
...
@@ -121,7 +121,7 @@
delegate_to
:
"
{{hostvars[item.1]['ophinex_cadmin_host']}}"
with_nested
:
-
[
'
setup_cadmin.sh'
,
'
setup_cadmin.sql'
]
-
groups
['
webserver-ophinex'
]
-
'
{{
groups
.
webserver-ophinex
}}
'
when
:
not hostvars[item.1]['ophinex_qa_mode']
-
name
:
Oracle | Execute basic setup on all CAdmins
...
...
@@ -129,7 +129,7 @@
delegate_to
:
"
{{hostvars[item.1]['ophinex_cadmin_host']}}"
with_nested
:
-
[
'
setup_cadmin.sh'
]
-
groups
['
webserver-ophinex'
]
-
'
{{
groups
.
webserver-ophinex
}}
'
when
:
not hostvars[item.1]['ophinex_qa_mode']
-
name
:
Oracle | Create files directory for each ophinex instance
...
...
@@ -139,5 +139,5 @@
mode=777
state=directory
delegate_to
:
"
{{item}}"
with_items
:
groups
['
webserver-ophinex'
]
with_items
:
'
{{
groups
.
webserver-ophinex
}}
'
when
:
not hostvars[item]['ophinex_qa_mode']
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