Giter VIP home page Giter VIP logo

Comments (5)

mschuchard avatar mschuchard commented on June 12, 2024

This is a good idea for using per-project ansible.cfg and should be easy to implement. There is an API option for the node module that actually invokes ansible-playbook to execute in a specified directory, so I should just be able to pass the playbook directory variable to that option hash.

The bad news is I likely will not be able to get out a release with this feature for another few weeks. I just put out a release to make it Linter 2 compatible and I am in a "wait and see" mode for how that and the UI package are developing since that affects this, the ansible-lint package, and the terraform package. This is because they each do multi-file linting which is now different in Linter 2.

from linter-ansible-syntax.

oolongbrothers avatar oolongbrothers commented on June 12, 2024

Great to hear!
No worries, there's no hurry. Better to keep an eye on quality now than pushing out features.
Ping me when you feel ready and need someone to test it out with a few use cases.

from linter-ansible-syntax.

mschuchard avatar mschuchard commented on June 12, 2024

Added in 01befc5.

from linter-ansible-syntax.

oolongbrothers avatar oolongbrothers commented on June 12, 2024

Ah, awesome! I have been testing master today and it has been working pretty well for me so far. Thanks for adding this in.
The only thing I was wondering is if it wouldn't be useful to explain this feature in the Readme/settings panel so that people can easily discover the full potential of linter-ansible-syntax.

from linter-ansible-syntax.

ebenezar-mccoy avatar ebenezar-mccoy commented on June 12, 2024

Could you sat how could i use it to syntax check for roles/role_name/tasks/main.yml ?

from linter-ansible-syntax.

Related Issues (9)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.