Giter Club home page Giter Club logo

ansible-tomcat's Introduction

tomcat

Ansible role to install tomat, forked from https://github.com/alexanderjardim/tomcat.

Role Variables

---
# version
tomcat_version: "8.0.20"
tomcat_install_dir: '/opt/tomcat-{{ tomcat_version }}'
tomcat_download_dir: '~/.ansible/download'
tomcat_sha256sum: '74870fea2930c10f39d586dc26b3f488f3c8b51f3030e74561e462188609a390'

# port and protocol
tomcat_port: 8080
tomcat_address: "{{ ansible_eth0.ipv4.address }}"
tomcat_connection_timeout: 20000   #in milisseconds
tomcat_protocol: "org.apache.coyote.http11.Http11NioProtocol"
tomcat_uri_encoding: "UTF-8"
tomcat_shutdown_port: 8005
tomcat_redirect_port: 8443
tomcat_ajp_port: -1    # -1 means do not use ajp

# logging
tomcat_log_level: 'FINE'
tomcat_log_dir: '{{tomcat_install_dir}}/logs'
tomcat_log_backups: 10
tomcat_logging_template: 'logging.properties.j2'
tomcat_access_log: false
tomcat_keep_manage_app: false

# roles
tomcat_roles: []
# users
tomcat_users: []
# opts
tomcat_catalina_opts: "-Djava.awt.headless=true -Dfile.encoding=UTF-8 -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/tmp"

Dependencies

semparatus.jdk

Example Playbook

    - hosts: servers
      roles:
      - role: 'ansible-tomcat'
        tomcat_version: '8.0.20'
        tomcat_install_dir: "/opt/tomcat-{{ tomcat_version }}.appname"

License

BSD

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.