abessifi.weblogic
Ansible WebLogic Role
Description
This is an Ansible role for installing and setting up Oracle Weblogic Server on CentOS 7.
Supported systems
- CentOS
Requirements
- Ansible 1.9 or newer (you can install it easily with
pip
. For example:sudo pip install ansible==1.9.2
) - Vagrant 1.7 or newer
sshpass
package, which Ansible needs if you use password-based SSH authentication. For Ubuntu/Debian:$ sudo apt-get install sshpass
- Virtualbox
- Oh-my-box tool (optional), for quickly creating a Vagrant base box with Ansible and Ruby already installed.
Dependencies
This version of Oracle WebLogic Server requires JDK 1.8. Make sure you have the correct JDK version installed before starting.
Use this Ansible Java role to install Oracle JDK 8 (Installation: $ ansible-galaxy install abessifi.java
).
Role Variables
TODO
Usage
TODO
Development and testing
Test with Vagrant
For quick tests, you can create a CentOS VM with Vagrant. You may need to modify the Vagrantfile to match your environment (like IP addresses).
$ vagrant up
Run acceptance tests
You can run acceptance/integration tests for the role using the test-kitchen
tool. The tests are stored in the ./test/integration/ directory.
The .kitchen.yml
file describes the testing setup and the tests to run. By default, it will use Ansible to set up your instances in Vagrant virtual machines.
To see the instances:
$ kitchen list
Instance Driver Provisioner Verifier Transport Last Action
default-centos-7-x64 Vagrant AnsiblePlaybook Busser Ssh <Not Created>
To run the default test suite on a CentOS 7 system, use:
$ kitchen test
Author
This role was created by Ahmed Bessifi, a DevOps enthusiast.
ansible-galaxy install abessifi.weblogic