netapp_eseries.host.eseries_template_path (1.3.1) — lookup

Searches playbook's directory for expected templates file before using the E-Series role's.

Authors: Nathan Swartz

Install collection

Install with ansible-galaxy collection install netapp_eseries.host:==1.3.1


Add to requirements.yml

  collections:
    - name: netapp_eseries.host
      version: 1.3.1

Description

Attempts to find the template source file first in the playbook's directory under templates/<ROLES_NAME>/ otherwise use the role's template file.

Provides a mechanism for users to override NetApp E-Series Ansible role's templates.

Inputs

    
relative_filepath:
    description: Roles template source file.
    required: true