diff --git a/playbook.yml b/playbook.yml index b664354..c0ed38e 100644 --- a/playbook.yml +++ b/playbook.yml @@ -14,9 +14,9 @@ CV_ASSUME_DISTID: OEL7.8 roles: -# - filesystem -# - ora_inst_ahf -# - db1913 + - filesystem + - ora_inst_ahf + - db1913 - tvd #handlers: diff --git a/roles/db1913/tasks/.main.yml.swp b/roles/db1913/tasks/.main.yml.swp deleted file mode 100644 index c55ccdd..0000000 Binary files a/roles/db1913/tasks/.main.yml.swp and /dev/null differ diff --git a/roles/db1913/tasks/main.yml b/roles/db1913/tasks/main.yml index 7c8c895..7eb2df1 100755 --- a/roles/db1913/tasks/main.yml +++ b/roles/db1913/tasks/main.yml @@ -14,9 +14,9 @@ msg: "Abbruch, da Direchtory vorhanden auf Host {{ ansible_fqdn }}" when: out.stat.exists == true -#- name: directory exists ending play -# meta: end_host -# when: out.stat.exists == true +- name: directory exists ending play + meta: end_host + when: out.stat.exists == true - name: Run orachk with option nordbms @@ -41,10 +41,6 @@ meta: end_host when: orachk_output.stdout.find("FAIL") != -1 -- name: directory exists ending play - meta: end_host - when: out.stat.exists == true - - name: Ensure free space on disk is more than 7.2 GB assert: that: item.size_available > 7200000000 diff --git a/roles/tvd/tasks/.main.yml.swp b/roles/tvd/tasks/.main.yml.swp deleted file mode 100644 index 6098bba..0000000 Binary files a/roles/tvd/tasks/.main.yml.swp and /dev/null differ diff --git a/roles/tvd/tasks/main.yml b/roles/tvd/tasks/main.yml index 13aaba2..65989e9 100644 --- a/roles/tvd/tasks/main.yml +++ b/roles/tvd/tasks/main.yml @@ -57,3 +57,15 @@ path: /home/oracle/.TVDPERL_HOME line: export TVDPERLBIN=/usr/bin/perl create: yes + +- name: unncomment /opt/oracle/trivadis/local/dba/etc/sid._DEFAULT_.conf TVDPERL_HOME. + replace: + path: /opt/oracle/trivadis/local/dba/etc/sid._DEFAULT_.conf + regexp: '^#(.*TVDPERL_HOME.*)' + replace: '\1' + +- name: unncomment /opt/oracle/trivadis/local/dba/etc/sid._DEFAULT_.conf TVDPERLBIN + replace: + path: /opt/oracle/trivadis/local/dba/etc/sid._DEFAULT_.conf + regexp: '^#(.*TVDPERLBIN.*)' + replace: '\1'