packman

Ansible Role: packman

Role gotmax23.packman Github Repo SourceHut Repo MIT Licensed Github Open Issues Github Open PRs Role Version Commits since last version Galaxy Role Quality Galaxy Role Downloads Github Actions Molecule workflow status Github Actions Galaxy workflow status

Ansible role that installs the Packman repository on OpenSUSE Leap and OpenSUSE Tumbleweed.

Beta Warning

This role is currently in beta and is not intended for production use. Breaking changes may occur between releases, so please make sure to read the release notes.

Requirements

This role depends on certain collections that are not included in ansible-core.

To install this role's requirements, create a requirements.yml file with the following contents:

---
collections:
  - name: community.general

Then, if you are using ansible-base/ansible-core 2.10 or later, run this command.

ansible-galaxy install -r requirements.yml

If you are still using Ansible 2.9, run this command, instead.

ansible-galaxy collection install -r requirements.yml

Role Variables

Here are this role's variables and their default values, as set in defaults/main.yml. If you'd like, you may change them to customize this role's behavior.

---
# Options:
# - `present` ensures that the Packman repository is installed.
# - `absent` ensures that the Packman repository is not installed.
packman_state: present

# See http://packman.links2linux.org/mirrors[1] for list of mirrors.
# The default option comes directly from the [OpenSUSE Wiki][2].
packman_mirror: "https://ftp.gwdg.de/pub/linux/misc/packman"

# Whether to check the Packman RPM repo signing key's fingerprint before importing it.
packman_check_key_fingerprint: true

[1]: http://packman.links2linux.org/mirrors

[2]: https://en.opensuse.org/Additional_package_repositories

Example Playbook

---
- name: Set up Packman Repository
  hosts: all
  become: true

  tasks:
    - name: Set up Packamn Repository
      ansible.builtin.include_role:
        name: gotmax23.packman

Compatibility

This role is tested using the latest version of ansible-core and the latest version of the collections from Ansible Galaxy. This is the only version of Ansible that this role officially supports. Best effort support is provided for other versions.

This role is compatible with the following distros:

distro versions
opensuse 15.3, tumbleweed

License

MIT

Author

Maxwell G (@gotmax23)

About

Ansible role that installs the Packman repository on OpenSUSE Leap and OpenSUSE Tumbleweed.

Install
ansible-galaxy install gotmax23/ansible-role-packman
GitHub repository
License
mit
Downloads
74
Owner
@gotmax:matrix.org | Fedora developer. Ansible Community Steering Committee member. Pythonista. | See my sr.ht profile for my current code.