Coder Social home page Coder Social logo

ansible-jbosscli's Introduction

ansible-jbossCli

Jboss cli module for ansible

Run jboss-cli commands from ansible

Options

parameter required default comments
command yes Command to execute on JBoss Cli
cli_path no /usr/share/wildfly/bin path to jboss-cli.sh
src no if command is run-batch, src is the full path to batch file
server no localhost:9990 server and port to connect
user no user to connecto with jboss-cli
password no password of user to connect to with jboss-cli.
verbose no False Show the JBoss Cli output, commonly in DMR

Examples:

  • change scan-interval value on, path to jboss-cli: /home/user/wildfly-10.1.0.Final/bin/jboss-cli.sh
- jbosscli:
    command: /subsystem=deployment-scanner/scanner=default:write-attribute(name=scan-interval,value=6000)
    cli_path: /home/user/wildfly-10.1.0.Final/bin
  • Change user of ExampleDS on server with ip addres 192.168.20.55 port 9990
- jbosscli:
    command: /subsystem=datasources/data-source=ExampleDS:write-attribute(name=user-name,value=other)
    server: 192.168.20.55:9990
  • Undeploy "hello world" application
- jbosscli:
    command: undeploy hello.war
    server: "{{ ansible_hostname}}:9990"

Install

copy jbosscli.py on /usr/lib/python2.7/site-packages/ansible/modules/web_infrastructure

ansible-jbosscli's People

Contributors

wolfant avatar panticz avatar

Watchers

James Cloos avatar Sean Burgess avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.