Testing with Ansible Molecule

Поділитися
Вставка
  • Опубліковано 14 гру 2024

КОМЕНТАРІ • 12

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

    Great explanation for me who is just getting into the molecule rabbit hole. Thank you!

  • @av1654
    @av1654 5 місяців тому

    Golden content . Thank you so much this helped me a lot finishing my task using molecule … from zero to hero in just 1 hour. Keep up the great work 👍

    • @theurbanpenguin
      @theurbanpenguin  5 місяців тому +1

      Excellent, so please it helped. Thanks for the feedback

  • @erererererre7922
    @erererererre7922 2 роки тому +1

    Thank's for your explanation!

  • @drgr33nUK
    @drgr33nUK 3 роки тому +3

    Ansible now has testing built in. I've not looked at it yet but skimming the docs it looks like it covers most things now. I'm about to get my hands dirty to see how it compares to Molecule. Keeping up with the speed of development is becoming a real issue. One issue I kept running into with molecule was it was a pain to test anything that uses systemd. I did tinker with container images but in the end I moved over to vagrant and full fat virtual machines.

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

      Did you make any progress on the built in testing? I need to have a look at this if it's any good

  • @bryanowens198
    @bryanowens198 3 роки тому

    A great follow up to this would be for adding TestInfra checks to this.

  • @yutubl
    @yutubl 8 місяців тому

    Thanks for this impressing compressed time saving video. I should watched this one earlier (regret, regret)

  • @anisanis611
    @anisanis611 3 роки тому

    Thank you Mr. Mallet !!

  • @GauravMehtaShwetaMehta
    @GauravMehtaShwetaMehta 3 роки тому +1

    Thanks very nice

  • @jonziD
    @jonziD 2 роки тому +1

    Hi, I think I have followed your example correctly, but when I run 'mol converge' I get the following error
    fatal: [ubuntu]: FAILED! => {"changed": false, "cmd": "/usr/bin/systemctl", "msg": "Failed to connect to bus: No such file or directory", "rc": 1, "stderr": "Failed to connect to bus: No such file or directory
    ", "stderr_lines": ["Failed to connect to bus: No such file or directory"], "stdout": "", "stdout_lines": []}
    fatal: [centos]: FAILED! => {"changed": false, "cmd": "/usr/bin/systemctl", "msg": "Failed to connect to bus: No such file or directory", "rc": 1, "stderr": "Failed to connect to bus: No such file or directory
    ", "stderr_lines": ["Failed to connect to bus: No such file or directory"], "stdout": "", "stdout_lines": []}
    I am using Ubuntu 21
    Any ideas?