G'day everyone, if you're currently learning Ansible and want to see how all these modules fit together to build something useful, please consider checking out my course and letting me know what you think! It's currently in "early access" while I finish off the last chapter, and the first part of the course is free so you can try it out: learn.toptechskills.com/courses/productive-with-ansible. Thanks for all your support and happy coding!
Believe me, its one of the greatest video's i have seen so far on ansible No Unnecessary talks, simple, straight and yet reached to a beginner like me Thanks a lot for the video
I still use Ansible a lot as part of my current job, although I haven't made any Ansible videos for quite some time because my time has been very limited.
Hi Radiant Mind, thanks for the kind comments. Hopefully I'll have time to make more videos about the modules in question in future, in the meantime, I wrote some articles about those modules that might be helpful: - www.toptechskills.com/ansible-tutorials-courses/ansible-apt_key-module-tutorial-examples/ - www.toptechskills.com/ansible-tutorials-courses/ansible-apt_repository-module-tutorial-examples/ Thanks again.
I got Error ansible appgroup -m apt -a "name=nagios-server nagios-plugins" "E:flAbsPath on /var/lib/dpkg/status failed - real path (13: Permission denied), E: Could not open file - open (2: No such file or directory), E: Problem opening, E: The package lists or status file could not be parsed or opened.
This is usually because you need `sudo` to execute the command. Using the `ansible` command you can do this with the `-b` / `--become` option: -b, --become run operations with become (does not imply password prompting)
Hi, thanks for the comment. I'll try to do a video like that in future. In the meantime, here's a good repo by Jeff Geerling that demonstrates how to manage software on a Mac: github.com/geerlingguy/mac-dev-playbook
This is related to apt/dpkg locks, which prevent multiple calls to apt/dpkg from changing system packages at the same time. The `lock_timeout` parameter controls how long the `apt` module will wait to acquire the apt/dpkg lock if the lock is currently taken by another call to apt/dpkg (e.g. another user on the system installing something with `apt`).
Since jenkins is a common tool, I'd suggest looking for an existing role on Ansible Galaxy. I saw that Jeff Geerling has a Jenkins role, it's likely of high quality: galaxy.ansible.com/geerlingguy/jenkins
Ubuntu 18.04 appears to have the `php7.2` package: packages.ubuntu.com/search?keywords=php7.2, so you should be able to install it directly without onrej's ppa.
Hi Ankit, I have a video showing how I set up Ansible for this series of tutorial videos. The video is available here: ua-cam.com/video/bUac43G20JQ/v-deo.html Hope that answers your question.
@@Raj-si5yz the configuration file is the `ansible.cfg` in the root directory (the contents are shown in the video I linked in my previous comment). The host file is the file located at `inventory/hosts` (the contents of this file are also shown in the video linked in my previous comment).
G'day everyone, if you're currently learning Ansible and want to see how all these modules fit together to build something useful, please consider checking out my course and letting me know what you think! It's currently in "early access" while I finish off the last chapter, and the first part of the course is free so you can try it out: learn.toptechskills.com/courses/productive-with-ansible. Thanks for all your support and happy coding!
Believe me, its one of the greatest video's i have seen so far on ansible
No Unnecessary talks, simple, straight and yet reached to a beginner like me
Thanks a lot for the video
Thank you for your comment Janatha, very happy that the video was useful for you!
Wow, amazing way of teaching 👍🏻
Thank you Shiva 🙏
you have the best Ansible module tutorials!
Thank you, appreciate the compliment!
Do you still do Ansible related work?
I still use Ansible a lot as part of my current job, although I haven't made any Ansible videos for quite some time because my time has been very limited.
Do you use Ansible with Kubernetes and helm charts?
I haven't yet, but if I was going to start doing those sorts of operations I would first read Geoff Geerling's "Ansible for Kubernetes" book.
Very good, clear and crisp.thanks alot
Thank you for the kind comment, Rakesh Rao 🙏
wish i can do more than like ....... great work ... many thanks
wish u make another video about apt_key and apt_repository
Hi Radiant Mind, thanks for the kind comments. Hopefully I'll have time to make more videos about the modules in question in future, in the meantime, I wrote some articles about those modules that might be helpful:
- www.toptechskills.com/ansible-tutorials-courses/ansible-apt_key-module-tutorial-examples/
- www.toptechskills.com/ansible-tutorials-courses/ansible-apt_repository-module-tutorial-examples/
Thanks again.
Excellent please share modules on netapp storage I am working on it
Thanks for your detailed videos.
Please put more videos from ansible.
It's really good ..can you make it on debug , stat , error handling and block modules it's helps a lot ..thanks in advance
Thank you, I hope to make more in future
I got Error
ansible appgroup -m apt -a "name=nagios-server nagios-plugins"
"E:flAbsPath on /var/lib/dpkg/status failed - real path (13: Permission denied), E: Could not open file - open (2: No such file or directory), E: Problem opening, E: The package lists or status file could not be parsed or opened.
This is usually because you need `sudo` to execute the command. Using the `ansible` command you can do this with the `-b` / `--become` option:
-b, --become run operations with become (does not imply password
prompting)
Hello!Nice video. Could you do a video about the install app on mac OS via ansible?
Hi, thanks for the comment. I'll try to do a video like that in future. In the meantime, here's a good repo by Jeff Geerling that demonstrates how to manage software on a Mac: github.com/geerlingguy/mac-dev-playbook
Awesome
Do you have any information how to use lock_timeout for the apt module?
This is related to apt/dpkg locks, which prevent multiple calls to apt/dpkg from changing system packages at the same time. The `lock_timeout` parameter controls how long the `apt` module will wait to acquire the apt/dpkg lock if the lock is currently taken by another call to apt/dpkg (e.g. another user on the system installing something with `apt`).
Hot to install jenkins using ansible can you plz show as it most useful tool now a days ?
Since jenkins is a common tool, I'd suggest looking for an existing role on Ansible Galaxy. I saw that Jeff Geerling has a Jenkins role, it's likely of high quality: galaxy.ansible.com/geerlingguy/jenkins
Nice as usual
What is the editor, that you use for test ?
This is VS Code with the light theme
It is possible to install php7.2 without having ppa added beforehand?
Ubuntu 18.04 appears to have the `php7.2` package: packages.ubuntu.com/search?keywords=php7.2, so you should be able to install it directly without onrej's ppa.
What is confg file and host file and where it is located
Hi Ankit, I have a video showing how I set up Ansible for this series of tutorial videos. The video is available here: ua-cam.com/video/bUac43G20JQ/v-deo.html
Hope that answers your question.
@@toptechskills I got little bit,can you explain pls.thnx
@@Raj-si5yz the configuration file is the `ansible.cfg` in the root directory (the contents are shown in the video I linked in my previous comment). The host file is the file located at `inventory/hosts` (the contents of this file are also shown in the video linked in my previous comment).
Thnx you so much