squintans.tomcat9

Ansible Rolle: Tomcat9

Diese Rolle installiert Tomcat9 (standardmäßig: v.9.0.21) auf CentOS7 und Ubuntu.

Zugriff unter:

Anmeldedaten für den Manager:

  • Benutzer: admin
  • Passwort: password

Versionen:

  • v.9.0.21
  • v.9.0.20

Anforderungen

Dieses Ansible-Playbook ist für einen FRISCHEN, noch nie verwendeten Server, virtuellen Maschinen oder Container vorgesehen.

Rollenvariablen

defaults/main.yml:*

tomcat_tomcat_version: '9.0.21'
tomcat_tomcat_admin_password: 'password'
tomcat_tomcat_manager_localhost_only: False
tomcat_tomcat_install: '/opt'

vars/Debian.yml:*

tomcat_packages:
  - openjdk-8-jdk
  - unzip

vars/RedHat.yml:*

tomcat_packages:
  - java-1.8.0-openjdk
  - unzip

Rollenvorlagen

context.xml.j2
tomcat-users.xml.j2
tomcat_service.j2

Abhängigkeiten

Keine.

Beispiel-Playbook

Beispiel mit Eingabeaufforderung:

- hosts: "{{ vm }}"
  gather_facts: True

  vars_prompt:
    - name: "vm"
      prompt: "VM"
      private: no

  roles:
    - { role: squintans.tomcat }

Playbook-Aufruf

ansible-playbook -i inventory.yml play.yml

Lizenz

BSD

Autoreninformationen

Diese Rolle wurde 2019 von Serafín Quintáns erstellt - @squintans

Über das Projekt

Tomcat v.9.0.21 or v.9.0.20 for Centos 7 and Ubuntu.

Installieren
ansible-galaxy install squintans.tomcat9
GitHub Repository
Lizenz
gpl-2.0
Downloads
115
Besitzer
Sysadmin. Linux guy.