robertdebock.ara

ARCHIVED

This role is archived. David has a better collection to achieve the same purpose.

ara

Install and set up ara on your device.

GitHub GitLab Quality Downloads Version
github gitlab quality downloads Version

Example Playbook

This example comes from molecule/default/converge.yml and is tested every time changes are made.

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

  roles:
    - role: robertdebock.ara

The system needs to be prepared. In Continuous Integration (CI), this is done using molecule/default/prepare.yml:

---
- name: Prepare
  hosts: all
  become: yes
  gather_facts: no

  roles:
    - role: robertdebock.bootstrap
    - role: robertdebock.buildtools
    - role: robertdebock.epel
    - role: robertdebock.python_pip

Check out a full explanation and example on how to use these roles.

Role Variables

The default values for the variables are set in defaults/main.yml:

---
# defaults file for ara

# The ansible.cfg file to change.
ara_configuration_file: /etc/ansible/ansible.cfg

# The user under which ara runs. Usually root, but if you run playbooks as your username, ara will save data in your home directory. If so, change ara_user to your username.
ara_user: root

# This role tries to find Python. If you are using a specific path for Python,
# you can set `ara_callback_plugins`. For example:
# ara_python_plugins_path: /home/username/venv/site-packages/ara/plugins/callback

# Extra options can be added using this structure.
# ara_configuration:
#   - option: port
#     value: 9191
#   - option: host
#     value: "0.0.0.0"
#   - option: playbook_per_page
#     value: 10
#   - option: result_per_page
#     value: 25

Requirements

Status of used roles

The following roles are needed to set up a system. You can choose a different method to prepare your system.

Requirement GitHub GitLab
robertdebock.bootstrap Build Status GitHub Build Status GitLab
robertdebock.buildtools Build Status GitHub Build Status GitLab
robertdebock.epel Build Status GitHub Build Status GitLab
robertdebock.python_pip Build Status GitHub Build Status GitLab
robertdebock.service Build Status GitHub Build Status GitLab

Context

This role is part of several compatible roles. Check the documentation of these roles for more information.

Here are related roles: dependencies

Compatibility

This role has been tested with these container images:

container tags
el 8
debian all
fedora all
ubuntu bionic

Ansible version 2.10 or higher is required, and tests have been completed for:

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

Exceptions

Some roles may not work on certain distributions or versions. Here are some exceptions.

variation reason
alpine Could not find a version that satisfies the requirement Django>=2.1.5
centos:7 No matching distribution found for Django>=2.1.5
amazonlinux:1 No package matching 'python3-pip'
amazonlinux No module named pkg_resources

If you discover any issues, please report them on GitHub

License

Apache-2.0

Author Information

Robert de Bock

Consider sponsoring me.

Installa
ansible-galaxy install robertdebock.ara
Licenza
apache-2.0
Download
905
Proprietario
I know my way around (Linux) infrastructure, have a passion for automation, Docker, Ansible, Molecule and ci/cd.