semaphore icon indicating copy to clipboard operation
semaphore copied to clipboard

Problem: Unable to modify an inventory entry using absolute path

Open mattroot opened this issue 1 year ago • 1 comments

Issue

When attempting to modify an existing Ansible inventory entry which uses file type and absolute path, it is not saved because of an error requesting a relative path. Adding an inventory with a absolute path works fine.

The documentation suggests using absolute path for this type of approach.

Impact

Web-Frontend (what users interact with)

Installation method

Docker

Database

BoltDB

Browser

Firefox, Microsoft Edge

Semaphore Version

2.10.11

Ansible Version

No response

Logs & errors

image

No Docker logs.

Manual installation - system information

Red Hat Enterprise Linux 8.10

Linux <snip> 4.18.0-513.9.1.el8_9.x86_64 #1 SMP Thu Nov 16 10:29:04 EST 2023 x86_64 x86_64 x86_64 GNU/Linux
Docker version 24.0.7, build afdd53b
Docker Compose version v2.21.0

Configuration

No response

Additional information

No response

mattroot avatar Jul 11 '24 12:07 mattroot

I am also facing the same issue on docker. It is not taking absolute path

Sheenam3 avatar Aug 01 '24 13:08 Sheenam3

I there any update for this? I still have it on 2.15.1 binary version.

erikon7 avatar Jul 04 '25 10:07 erikon7

You can't use absolute path in inventory. If you want to use playbook from file system, just create a repository with absolute path.

fiftin avatar Jul 04 '25 18:07 fiftin