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.
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?
Great explanation for me who is just getting into the molecule rabbit hole. Thank you!
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 👍
Excellent, so please it helped. Thanks for the feedback
Thank's for your explanation!
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.
Did you make any progress on the built in testing? I need to have a look at this if it's any good
A great follow up to this would be for adding TestInfra checks to this.
Thanks for this impressing compressed time saving video. I should watched this one earlier (regret, regret)
Thank you Mr. Mallet !!
You welcome
Thanks very nice
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?