Giter Club home page Giter Club logo

Comments (4)

k1LoW avatar k1LoW commented on June 12, 2024 1

Currently, variables do not expand in the desc: section.

desc: test
vars:
  foo: var
steps:
  -
    desc: '{{ vars.foo }}'
    test: vars.foo == 'var'
$ runn run tmp.yml --verbose
=== test (tmp.yml) ... ok
    --- {{ vars.foo }} (0) ... ok


1 scenario, 0 skipped, 0 failures

from runn.

t-kitamura-axel avatar t-kitamura-axel commented on June 12, 2024

Thank you for answer.
So, is there a way to set the description for each loop instead?

from runn.

k2tzumi avatar k2tzumi commented on June 12, 2024

So, is there a way to set the description for each loop instead?

I don't think we have that feature at this time.

@k1LoW
How about adding a description for include and outputting it when including?

from runn.

k1LoW avatar k1LoW commented on June 12, 2024

How about adding a description for include and outputting it when including?

The Include runner already has a desc: section.

steps:
  -
    desc: Login
    include:
      path: path/to/login.yml
      vars:
        username: bob
        password: bobpass

I believe you are saying that we will add the feature to overwrite the desc: in the included runbook, which I believe is the same as variable expansion in the desc: section.

I am still cautious about whether we should add a variable expansion feature in the desc: section.

Because there is still a small chance that the desc: section will be one of the sources of the runbook ID.

from runn.

Related Issues (20)

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.