Skip to content

Pre/post tasks should be able to reference local roles #151

@jkupferer

Description

@jkupferer

Currently openshift-applier always runs ansible-galaxy to pull roles for pre/post steps. This makes it difficult to test changes in pre/post roles, makes it difficult to run applier in secure environments, and makes it impossible to build an image with applier with baked-in tested version of ansible roles.

It should be possible to specify a local roles path for pre/post steps, perhaps with a design like:

    post_steps:
    - role: roles/openshift_machine_api
      local_role: true

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions