gesof.aerospike

Ansible Role: Aerospike

Build Status

This role installs the Aerospike NoSQL database on RedHat/CentOS or Debian/Ubuntu Linux systems.

Requirements

You need the EPEL repository on RedHat/CentOS. To install it, use the geerlingguy.repo-epel role.

Role Variables

Here are the available variables with their default values (check defaults/main.yml):

  • aerospike_package_name: "aerospike"
    The name of the Aerospike package you want to install. Use apt-cache policy aerospike or yum list aerospike to see available options.

  • aerospike_version: "5.6.0.5"
    The version of Aerospike to install. You can find available versions on the Aerospike repositories. Examples include 5.6.0.5, 5.5.0.12, 5.4.0.14, and 4.9.0.33.

  • aerospike_config_path: /etc/aerospike
    The location where Aerospike configuration files will be kept.

  • aerospike_listen_address: ""
    aerospike_listen_port: "3000"
    The address and port for Aerospike to listen on. Defaults to all interfaces on port 3000, but you can change these settings.

  • aerospike_admin_listen_host: "127.0.0.1"
    aerospike_admin_listen_port: "3003"
    The host and port for accepting admin requests. For more details, check the asinfo documentation.

  • aerospike_storage: "file,/opt/aerospike/data/bar.data"
    This defines how Aerospike stores cache entries.

  • aerospike_pidfile: /var/run/aerospike/asd.pid
    The path for the Aerospike PID file. Leave empty if you don’t want to use a PID file.

  • aerospike_extra_options: ""
    Any additional options or flags to send to the Aerospike daemon upon startup.

  • aerospike_enabled_services:

    • aerospike
      Services that should start at boot and run after this role finishes. If this is empty, no services will start automatically.

Dependencies

  • For Aerospike Server 5.1 and later, you need libcurl.

Example Playbook

- hosts: webservers
  vars_files:
    - vars/main.yml
  roles:
    - gesof.aerospike

Inside vars/main.yml:

aerospike_service_addresses: "any"
aerospike_default_backend_port: 3000
... etc ...

License

MIT / BSD

Author Information

This role was created in 2021 by Gesof.

Informazioni sul progetto

aerospike for Linux.

Installa
ansible-galaxy install gesof.aerospike
Licenza
mit
Download
561
Proprietario