Ansible Playbook: manage_aplatform64_servers

Purpose

Manage A:Platform64 servers.

Supported features in the current version:

  • Update A:Platform64 structure after collection upgrade
  • Create new A:Platform64 sites

Use Cases

The playbook must be run using the A:Platform64 CLI:

  • Create a A:Platform64 site

    /opt/aplatform64/bin/ap64.sh -c -s <SITE>

  • Refresh A:Platform64 site configuration by rerunning the setup process

    /opt/aplatform64/bin/ap64.sh -r -s <SITE>

Playbook Parameters

Inventory

Register the hosts that will consume the service in the Ansible Inventory file:

  • File: inventories/<SITE>/aplatform64_service.ini
  • Host Group: aplatform64_servers

End State

A dedicated group_vars directory is used to store end-state configuration settings for both the playbook and related Ansible Roles.

Role specific settings are available to further customize the playbook:

A:Platform64 role group_vars file
serdigital64.automation.auto_ansible_control inventories/<SITE>/group_vars/aplatform64_servers/auto_ansible_control.yml

Deployment

OS Compatibility

OS compatibility is role dependant. Please refer to the respective role documentation.

Dependencies

Dependencies in this section are automatically solved during the installation of A:Platform64.

  • Ansible Collections:
    • serdigital64.backup
    • serdigital64.system
    • serdigital64.automation

Prerequisites

  • Ansible:
    • Control Node: A:Platform64 installed and configured

Installation Procedure

The playbook is automatically deployed during the A:Platform64 installation process.

Contributing

Help on implementing new features and maintaining the code base is welcomed.

Please see the guidelines for further details.

Author

License

GPL-3.0-or-later