Giter VIP home page Giter VIP logo

Comments (2)

mschuchard avatar mschuchard commented on June 12, 2024

This has been on my TODO for a long time now. Additionally, Ansible has just recently started doing syntax checks on includes so now I need to handle that too.

Ideally, Ansible would be able to syntax check more than just the site.yml, but they haven't really cared a lot about the syntax checker.

I have a similar TODO for the ansible-lint package. I don't see myself taking a stab at this in the next few days, but I very likely will in the next month.

from linter-ansible-syntax.

mschuchard avatar mschuchard commented on June 12, 2024

Resolved in 7f2832c.

I had work and technical headaches the last few days, but just got a chance to look at this again. I still have the dream to trick ansible into syntax checking all files, but your suggestion is a good intermediary step. Also, the quick code search on github to figure out the API call to do this has given me an idea for that trick.

Note I am also about to go do this for the ansible-lint linter too. Will claims ansible-lint works fine on roles (not includes) as of a certain version, but I have been unable to figure that out. Going to go ping him on that now.

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.