Version initial du 2020/09/10

This commit is contained in:
Yacine
2020-09-10 02:13:23 +02:00
parent a586a12cce
commit 372944395a
62 changed files with 4549 additions and 0 deletions

View File

@@ -0,0 +1,50 @@
#!/usr/bin/expect -f
spawn service oracleasm configure
{% if role_separation==True %}
expect {
"Default user to own the driver interface*:"
{
send "{{ grid_install_user }}\r"
exp_continue
}
"Default group to own the driver interface*:"
{
send "{{ asmdba_group }}\r"
exp_continue
}
"Start Oracle ASM library driver on boot*:"
{
send "y\r"
exp_continue
}
"Scan for Oracle ASM disks on boot*:"
{
send "y\r"
exp_continue
}
}
{% else %}
expect {
"Default user to own the driver interface*:"
{
send "{{ oracle_user }}\r"
exp_continue
}
"Default group to own the driver interface*:"
{
send "{{ dba_group }}\r"
exp_continue
}
"Start Oracle ASM library driver on boot*:"
{
send "y\r"
exp_continue
}
"Scan for Oracle ASM disks on boot*:"
{
send "y\r"
exp_continue
}
}
{% endif %}