Code Monkey home page Code Monkey logo

Comments (5)

bofrot avatar bofrot commented on May 26, 2024

Any change on this issue ?

from squest.

Sispheor avatar Sispheor commented on May 26, 2024

Not yet scheduled. But still in our TODO.

from squest.

giulianoquites avatar giulianoquites commented on May 26, 2024

I used a playbook that makes a call to the AWX api and with that it ran WorkFlow!

  • name: AAP API
    hosts: localhost
    gather_facts: false

    vars:
    aap_user: USER
    aap_pass: PASS
    aap_host: aapcontrol001.lnx.example.local
    template_nun: 21

    tasks:

    • name: Get the token AAP
      uri:
      url: "https://{{ aap_host }}/api/v2/users/1/personal_tokens/"
      method: POST
      validate_certs: false
      return_content: true
      user: "{{ aap_user }}"
      password: "{{ aap_pass }}"
      force_basic_auth: true
      status_code: 201
      register: response

    • name: Use the token
      uri:
      url: "https://{{ aap_host }}/api/v2/workflow_job_templates/{{ template_nun | urlencode }}/launch/"
      method: POST
      validate_certs: false
      return_content: true
      status_code: 201
      headers:
      Authorization: "Bearer {{ response['json']['token'] }}"
      Content-Type: "application/json"
      register: launch

Too complex add workflow in squesh?

from squest.

Sispheor avatar Sispheor commented on May 26, 2024

Not a priority on our side. We are working on a V2 that refactor a lot of thing.

from squest.

giulianoquites avatar giulianoquites commented on May 26, 2024

Is v2 development public? We can help?

from squest.

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.