This repository was archived by the owner on Mar 5, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
Batch execution samples
David Becvarik edited this page May 25, 2015
·
2 revisions
this page is a very very wip - depends extremely on [Instruction file format](Instruction file format)
- name: jboss/user/add_admin
description: add administrator user
changes:
- jboss-cli:
- add-user: username=$EAP_ADMIN_USERNAME password=topsecret admin=true- name: jboss/user/add_regular
description: add regular user
changes:
- jboss:
- add-user: username=$EAP_ADMIN_USERNAME password=topsecret admin=true
- jboss-eap-6-os:
- add-admin-user:- name: jboss/os/eap/cluster
description: configure HA
changes:
- jboss-openshift:
- configure_ha:- name: os/jboss/setup_datasource
description: setup datasource
environment:
- file : standalone.xml
changes:
- jboss:
- create_datasource: - name: os/jboss/logging
description: configures JBOSS logging to JSON subject:
environment:
- file: “/path/to/file.xml”
changes:
- xml:
- delete: xpath=//
- delete: xpath=//
- shell:
- run: ln -s #subject# /path/to/fileaaaaa.xml
- run: /custom/bash/script.sh
- xml:
- delete: xpath=//
- delete: xpath=//