Posts

Showing posts from September, 2018

Oracle DBA - Automation with Ansible (Setup ASM Cloud File System Oracle 18c )

Image
Oracle DBA - Automation with Ansible (Setup ASM Cloud File System Oracle 18c ) I am running running playbook "racdatabase.yml" which has enabled role "racdb_acfs" - to create ACFS. Tree structure for this  role "racdb_acfs" Variables for this role are as below - Running Playbook with step option Playbook for this role is as below: [root@oel75 roles]# cat racdb_acfs/tasks/main.yml --- - name: List Current ASM diskgroups for ACFS   become_user: "{{ superuser }}"   action: shell export GRID_HOME={{ grid_home }}; {{ grid_home }}/bin/srvctl status diskgroup -g {{ acfsdiskgroup }}   tags: acfs - name: ACFS/ADVM modules installation   action: shell export GRID_HOME={{ grid_home }}; {{ grid_home }}/bin/acfsroot install - name: Start ACFS modules   become_user: "{{ superuser }}"   action: shell export GRID_HOME={{ grid_home }}; {{ grid_home }}/bin/acfsload start   tags: acfs - name: Create an ASM volume ...