Playbooks for automated activities for WebLogic 11g/12c (tbc), SOA, OSB and WebGate Agents.
- Sufficient sudo access, f.e. %User ALL=(weblogic) ALL, /bin/bash -c
- Ansible installed on a host
- SSH access from Ansible Controller to FMW hosts
$ ansible-playbook wls.yml - inventories/wls_inv.yml --ask-pass --ask-become-pass --check -e "@templates/patch_wls.json"
$ ansible-playbook wls.yml - inventories/wls_inv.yml --ask-pass --ask-become-pass -e "@templates/patch_wls.json"
$ ansible-playbook wls.yml - inventories/wls_inv.yml --ask-pass --ask-become-pass -e "@templates/patch_soa.json"
$ ansible-playbook wls.yml - inventories/wls_inv.yml --ask-pass --ask-become-pass -e "@templates/rollback_wls.json"
$ ansible-playbook wls.yml - inventories/wls_inv.yml --ask-pass --ask-become-pass -t restart
$ ansible-playbook wls.yml - inventories/wls_inv.yml --ask-pass --ask-become-pass -e "@templates/restore_backup.json"
$ ansible-playbook webgate.yml - inventories/webgate_inv.yml --ask-pass --ask-become-pass --check -e "@templates/patch_webgate.json"
$ ansible-playbook webgate.yml - inventories/webgate_inv.yml --ask-pass --ask-become-pass -e "@templates/patch_webgate.json"
$ ansible-playbook webgate.yml - inventories/webgate_inv.yml --ask-pass --ask-become-pass -e "@templates/rollback_webgate.json"
$ ansible-playbook webgate.yml - inventories/webgate_inv.yml --ask-pass --ask-become-pass -t restart
$ ansible-playbook webgate.yml - inventories/webgate_inv.yml --ask-pass --ask-become-pass -e "@templates/restore_backup.json"