Run a Python Script on Remote Machines - Ansible module script

Поділитися
Вставка
  • Опубліковано 16 вер 2024
  • How to automate the execution of a "cars.py" custom Python script on a remote machine after transferring it and processing the output as an Ansible JSON variable using the Ansible Playbook and script module.
    www.ansiblepil...
    FREE Top 10 Best Practices of Ansible Automation: save time, reduce errors and stress - dashboard.mail...
    BUY the Complete PDF BOOK to easily Copy and Paste the 200+ Ansible code
    200+ Automation Examples For Linux and Windows System Administrator and DevOps
    leanpub.com/an...
    my VIDEO COURSE: Ansible by Examples
    200+ Automation Examples For Linux and Windows System Administrator and DevOps
    www.udemy.com/...

КОМЕНТАРІ • 7

  • @AdventurousMagic
    @AdventurousMagic Рік тому +1

    Does the remote node need python modules installed when the script module copies and executes the script on the remote node? I'm getting unable to import module...

  • @josebatumeni9598
    @josebatumeni9598 2 роки тому

    love it sir , could you do a tutorial on how to connect to api with a script in development module

    • @BertonLuca
      @BertonLuca  2 роки тому

      Hello Jose, have you take a look at this video? ua-cam.com/video/U92t0h9Cw8Q/v-deo.html Have a great day, ;-)

  • @mandasunil
    @mandasunil Рік тому

    Hello sir,
    i wish to execute the python file on windows VM machine thru ansible installed on Linux machine ? is there a wat to do it ?

  • @aliediz872
    @aliediz872 Рік тому

    when I give folder path to yaml like ""C:\test.py" but when I use "\" I get errors how can I fix it?

  • @sergiimarchuk6405
    @sergiimarchuk6405 2 роки тому

    Thanks.

    • @BertonLuca
      @BertonLuca  2 роки тому

      I appreciate any feedback. Subscribe to channel and newsletter for the latest contents