/vitex_software_repo_role

Ansible Role mangin managing VitexSoftware debian repository

Primary LanguageDockerfile

Vitex Software debian repository

Configure vitexsoftware repository on Debian or Ubuntu based systems for easy installation of our software.

Requirements

Only Debian/Ubuntu based systems are supported.

Role Variables

vitex_software_repo_components: [main, games, borrowed] = List of components to enable in the repository. Default is all components.

Example Playbook

Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too:

- hosts: servers
  roles:
     - { role: Vitexus.vitex_software_repo_role, vitex_software_repo_components: [main, games] }
  tasks:
    - name: Check for /etc/apt/sources.list.d/vitexsoftware.list presnece
      ansible.builtin.stat:
        path: /etc/apt/sources.list.d/vitexsoftware.list
      register: vitexsoftware_list
    - name: Include role to add vitexsoftware repository
      ansible.builtin.include_role:
        name: Vitexus.vitex_software_repo_role
      when: not vitexsoftware_list.stat.exists

License

MIT

Author Information

Part of Vitex Software solutions https://www.vitexsoftware.cz/

The Last Student