0

I do have some roles that I want to run in post and currently if I add them to roles, they will be run automatically when the job is created, which is not really the desired behavior.

job:
  name: myjob
  roles:
    - zuul: myorg/some-role
      name: some-role  # <-- zuul will auto-run this role before pre-run
      # how to add a role that can be consumed by post-run.yaml?

How to I convince Zuul CI to only install these roles in ansible path, so later we can import them from pre-run.yaml playbook?

sorin
  • 161,544
  • 178
  • 535
  • 806

1 Answers1

0

In fact my assumption was incorrect, roles mentioned in job definition are not run by default, are only made available.

sorin
  • 161,544
  • 178
  • 535
  • 806