istvano.kustomize

Ansible Role: kustomize

This role helps you download and install kustomize, a Kubernetes command-line tool. It allows you to modify plain YAML files without changing the original files, making them easy to use for different needs.

Requirements

  • Ansible version 2.7 or higher

  • Linux Distribution

    • Debian Family

      • Debian

        • Jessie (8)
        • Stretch (9)
      • Ubuntu

        • Xenial (16.04)
        • Bionic (18.04)
    • RedHat Family

      • CentOS

        • 7
    • Note: Other versions may work, but we haven't tested them.

Role Variables

You can change how this role works by using the following variables (default values are shown here):

# Version of kustomize to install
kustomize_version: 'v0.20.5'

Example Playbook

Here's how to use this role in a playbook:

- hosts: servers
  roles:
    - role: istvano.kustomize

Development & Testing

This project uses Molecule for testing.

To run tests, use the provided

Molecule Wrapper.

./moleculew test

If you want to check the code for mistakes (linting), use:

./moleculew lint

You can also test it directly by running:

ansible-playbook ./tests/test.yml

License

This project is licensed under the MIT License.

Informazioni sul progetto

Ansible role for downloading and installing the kustomize tool for Kubernetes.

Installa
ansible-galaxy install istvano.kustomize
Licenza
mit
Download
669
Proprietario