Please have a look at this example showing how to easily operate Red Hat JBoss middleware products using this role.
This role has been tested on Ansible 2.0.2.0 and 2.1.1.0. It requires Red Hat Enterprise Linux 7.
A description of the settable variables for this role should go here, including any variables that are in defaults/main.yml, vars/main.yml, and any variables that can/should be set via parameters to the role. Any variables that are read from other roles and/or the global scope (ie. hostvars, group vars, etc.) should be mentioned here as well.
The "Maarc.rh-jboss-common" role is required. It could be imported as follows:
ansible-galaxy install Maarc.rh-jboss-common -p roles
or
ansible-galaxy install -r requirements.yml -p roles
ansible-galaxy install Maarc.rh-jboss-web-server-httpd -p roles
- hosts: "dev-jws-group"
roles:
- {role: "Maarc.rh-jboss-web-server-httpd"}