semaphore icon indicating copy to clipboard operation
semaphore copied to clipboard

Feature: Ansible directory path inside repo

Open tjhowse opened this issue 10 months ago • 5 comments

Implements #2733. Allows for a repo to be configured with an optional relative path from the Git root to the location inside the repo that stores the playbooks, role directory and configuration.

I'm aware of some blocking tasks:

  1. Complete the "isValidPath()" validator,
  2. Work out the best place to suffix the path onto the repo location,
  3. Update the docs, ~~4. Handle DB migration.~~

tjhowse avatar Feb 23 '25 12:02 tjhowse

I think the CI needs a cache clear. An earlier mistake in my DB migration script tainted the cache with the new column with incorrect constraints. The CI is trying to migrate an already-migrated DB.

Edit: Maybe not? I think I've just misunderstood how the migration system works. It's OK now.

tjhowse avatar Feb 26 '25 04:02 tjhowse

Currently Playbook Filename can be path to the file. What reason to have path field?

Perhaps it is documentation issue?

Perhaps path must be in Repository table?

fiftin avatar Feb 26 '25 07:02 fiftin

what;s blocking this? we have ansible playbooks in repos that holds other code base not related to ansible. this feature is very much needed since we store custom ansible.cfg inside the subfolder and not at the root of the git repo

samsen1 avatar Nov 04 '25 02:11 samsen1

what;s blocking this?

Unfixed issue

fiftin avatar Nov 06 '25 10:11 fiftin

Will be merged to 2.18.

fiftin avatar Nov 06 '25 10:11 fiftin