buluma.crowd

Ansible Role Crowd

This role helps you to install and set up Crowd on your system.

GitHub Version Issues Pull Requests Downloads
github Version Issues PullRequests Ansible Role

Example Playbook

Here's a simple example from molecule/default/converge.yml. It runs tests whenever you push changes, make a pull request, or release a new version.

---
- name: Converge
  hosts: all
  become: true
  gather_facts: true

  roles:
    - role: buluma.crowd

Preparing the Machine

Before using this role, your system needs setups done. In CI processes, this is handled by molecule/default/prepare.yml:

---
- hosts: all
  remote_user: root
  become: true
  gather_facts: false

  roles:
    - role: buluma.bootstrap
    - role: buluma.java

  tasks:
    # Register your system with Red Hat
    - name: redhat | subscription-manager register
      ansible.builtin.raw: |
        set -eu
        subscription-manager register \
          --username={{ lookup('env', 'REDHAT_USERNAME') }} \
          --password={{ lookup('env', 'REDHAT_PASSWORD') }} \
          --auto-attach
      changed_when: false
      failed_when: false

    # Install Python 3 on Debian
    - name: debian | apt-get install python3
      ansible.builtin.raw: |
        set -eu
        apt-get update
        DEBIAN_FRONTEND=noninteractive apt-get install -y python3
      changed_when: false
      failed_when: false

    # Install Python 3 on Red Hat
    - name: redhat | yum install python3
      ansible.builtin.raw: |
        set -eu
        yum makecache
        yum install -y python3
      changed_when: false
      failed_when: false

    # Install Python 3 on SUSE
    - name: suse | zypper install python3
      ansible.builtin.raw: |
        set -eu
        zypper -n --gpg-auto-import-keys refresh
        zypper -n install -y python3
      changed_when: false
      failed_when: false

# More tasks follow here for other configurations...

For a complete guide, check out this link for using these roles.

Role Variables

Default variable values are specified in defaults/main.yml:

---
# Default settings for Crowd

# Database details and configurations:
postgresql_jdbc_release: "42.3"
postgresql_jdbc_version: "{{ _postgresql_jdbc_version[postgresql_jdbc_release] }}"

# Crowd version and installation settings:
crowd_release: "4.4"
crowd_version: "{{ _crowd_version[crowd_release] }}"

# File paths and memory settings:
crowd_home: "/var/atlassian/application-data/crowd"
crowd_catalina: "/opt/atlassian/crowd"
crowd_jvm_minimum_memory: "1024m"
crowd_jvm_maximum_memory: "1024m"

# Additional configurations...

Requirements

Used Roles

These roles get your system ready. You can choose other methods to prepare your system.

Requirement GitHub Version
buluma.bootstrap Ansible Molecule Version
buluma.java Ansible Molecule Version
alvistack.openjdk Ansible Molecule Version

Context

This role is part of a set of roles that work together. Check this documentation for more details.

Compatibility

This role has been tested with the following container images from Docker Hub:

Container Tags
Amazon Candidate
EL 8
Debian all
Fedora all
opensuse all
Ubuntu all

You need at least Ansible version 2.12. Tests were performed on:

  • The previous version.
  • The current version.
  • The development version.

If you encounter any issues, please report them on GitHub.

Changelog

Find the Role History.

License

This project is licensed under the Apache-2.0.

Author Information

Created by Shadow Walker.

Informazioni sul progetto

Install and configure crowd on your system.

Installa
ansible-galaxy install buluma.crowd
Licenza
apache-2.0
Download
140
Proprietario
DevOps Engineer