Comments (5)
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.
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.
Added in 01befc5.
from linter-ansible-syntax.
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.
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)
- Limit linting to only files with a hosts attribute? HOT 2
- Improved version detect HOT 1
- Not found inventory, roles path HOT 1
- new ansible version issue HOT 1
- Please support source.ansible-advanced HOT 2
- detection of ansible version is broken HOT 2
- Fails to parse dynamic-inventory HOT 4
- ansible version detect still broken HOT 15
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from linter-ansible-syntax.