Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Project configuration file not respected #2273

Open
LuckyType opened this issue Jun 9, 2023 · 1 comment
Open

Project configuration file not respected #2273

LuckyType opened this issue Jun 9, 2023 · 1 comment

Comments

@LuckyType
Copy link

LuckyType commented Jun 9, 2023

Describe the bug
The Project level configuration seems to be not respected. This might be a invoke Problem, but since the fabric documentation says it should work, i thought i will report it anyways.
Same problem goes for the environmet variable "FABRIC_RUNTIME_CONFIG"

I also tried /etc/fabric.yml, which works fine.

To Reproduce
Steps to reproduce the behaviour (please attach a minimal example):

  1. Create a fabfile.py with a task inside a subdirectory
  2. Create a fabric.yml with a search_root set to the subdirectory
  3. Run fab -l

Can't find any collection named 'fabfile'!

Expected behaviour
Fabric will search for a fabric.yml inside the directory of execution and will crawl its contents like it should.

Environment
Linux localhost 6.1.0-9-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.27-1 (2023-05-08) x86_64 GNU/Linux

fish, version 3.6.1

Python 3.11.2

Fabric 3.1.0
Paramiko 3.0.0
Invoke 2.1.2

@codebude
Copy link

This sounds similar to my problem in #2264

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants