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
733bc56b
Commit
733bc56b
authored
8 years ago
by
jurgenhaas
Browse files
Options
Downloads
Patches
Plain Diff
Update to Ansible 2.2.1.0 and adjust all file mode settings to provide them as strings
parent
f6a816b4
No related branches found
Branches containing commit
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
+9
-9
9 additions, 9 deletions
tasks/configure.yml
tasks/prepare.yml
+10
-10
10 additions, 10 deletions
tasks/prepare.yml
with
19 additions
and
19 deletions
tasks/configure.yml
+
9
−
9
View file @
733bc56b
...
...
@@ -6,21 +6,21 @@
dest=/opt/{{item}}
owner=root
group=root
mode=755
mode=
'
755
'
with_items
:
-
cadmin_list_databases.sh
-
cadmin_list_databases.sql
-
sqlplus.sh
-
name
:
Oracle Backup | Create Directory
file
:
dest=/var/backups/oracle state=directory mode=755
file
:
dest=/var/backups/oracle state=directory mode=
'
755
'
-
name
:
Oracle Backups | copy files
copy
:
src={{item}}
dest=/var/backups/oracle/{{item}}
owner=root
group=root
mode=755
mode=
'
755
'
with_items
:
-
backup.sh
...
...
@@ -29,19 +29,19 @@
dest=/var/backups/oracle/{{item}}
owner=root
group=root
mode=755
mode=
'
755
'
with_items
:
-
backupall.sh
-
name
:
Oracle Reset Demo | Create Directory
file
:
dest=/opt/demo_reset state=directory mode=755
file
:
dest=/opt/demo_reset state=directory mode=
'
755
'
-
name
:
Oracle Reset Demo | copy user specific executable file
template
:
src=demo_reset.sh
dest=/opt/demo_reset/{{item.user}}_reset.sh
owner=root
group=root
mode=755
mode=
'
755
'
with_items
:
'
{{
oracle_demo_reset_items
}}'
-
name
:
Oracle Reset Demo | copy user specific sql file
...
...
@@ -49,7 +49,7 @@
dest=/opt/demo_reset/{{item.user}}_drop_create.sql
owner=root
group=root
mode=755
mode=
'
755
'
with_items
:
'
{{
oracle_demo_reset_items
}}'
-
name
:
Oracle Reset Demo | copy Sql files
...
...
@@ -57,7 +57,7 @@
dest=/opt/demo_reset/{{item.user}}.dmp
owner=root
group=root
mode=644
mode=
'
644
'
with_items
:
'
{{
oracle_demo_reset_items
}}'
-
name
:
Oracle Reset Demo | copy general Sql files
...
...
@@ -65,7 +65,7 @@
dest=/opt/demo_reset/{{item}}
owner=root
group=root
mode=644
mode=
'
644
'
with_items
:
-
demo_reset.sql
...
...
This diff is collapsed.
Click to expand it.
tasks/prepare.yml
+
10
−
10
View file @
733bc56b
...
...
@@ -22,14 +22,14 @@
dest=/sbin/chkconfig
owner=root
group=root
mode=755
mode=
'
755
'
-
name
:
Oracle | copy oracle.conf file
copy
:
src=etc_sysctl_d_60_oracle_conf
dest=/etc/sysctl.d/60-oracle.conf
owner=root
group=root
mode=644
mode=
'
644
'
-
name
:
Oracle | Load the new kernel parameters
command
:
service procps start
...
...
@@ -46,7 +46,7 @@
-
name
:
Oracle | Create directory
file
:
dest='/var/lock/subsys'
state=directory
mode=755
mode=
'
755
'
-
name
:
Oracle | Create listener file
command
:
touch /var/lock/subsys/listener
...
...
@@ -57,7 +57,7 @@
-
name
:
Oracle | Create directory
file
:
dest='/dev/shm'
state=directory
mode=755
mode=
'
755
'
-
name
:
Oracle | Mount tmpfs
command
:
mount -t tmpfs shmfs -o size=2048m /dev/shm
...
...
@@ -67,7 +67,7 @@
dest=/etc/init.d/shm_load
owner=root
group=root
mode=755
mode=
'
755
'
-
name
:
Oracle | add shm load file to bootlist
command
:
update-rc.d shm_load defaults
...
...
@@ -80,14 +80,14 @@
dest=/opt/oracle_config.sh
owner=root
group=root
mode=755
mode=
'
755
'
-
name
:
Oracle | Copy configuration script answers
copy
:
src=opt_oracle_config_answers
dest=/opt/oracle_config_answers
owner=root
group=root
mode=644
mode=
'
644
'
-
name
:
Oracle | Configure Oracle
shell
:
/opt/oracle_config.sh </opt/oracle_config_answers
...
...
@@ -107,7 +107,7 @@
dest=/opt/{{item}}
owner=root
group=root
mode=755
mode=
'
755
'
with_items
:
-
setup.sh
-
setup.sql
...
...
@@ -120,7 +120,7 @@
dest=/opt/{{inventory_hostname}}_{{item[0]}}
owner=root
group=root
mode=755
mode=
'
755
'
delegate_to
:
"
{{hostvars[item.1]['ophinex_cadmin_host']}}"
with_nested
:
-
[
'
setup_cadmin.sh'
,
'
setup_cadmin.sql'
]
...
...
@@ -139,7 +139,7 @@
file
:
path='/var/ophinexfiles/{{oracle_schema}}'
owner=www-data
group=www-data
mode=777
mode=
'
777
'
state=directory
delegate_to
:
"
{{item}}"
with_items
:
'
{{
groups["webserver-ophinex"]
}}'
...
...
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