Excellent video. As you mentioned, it would be nice to have a video about GIT and the differences between github and gitlab, also selfhosted options like gitea. So far your content is rock solid and already a source of knowledge that i use for reference on my homelab adventures.
Wonderful, this video is just as I got into Ansible. I would really love a video on Git with specifics for the Ops guys, how does it improve the usual processes
Great vid. Thank you. Exactly what I was searching for! A github tutorial vid would be very helpful for homelab networkers, engineers and hobby it-fans!
Thanks for the demo/review of Semaphore. Have heard of it, but not used it. Will have to give it a look for home use. It does appear to be something of AWX-lite.
Thanks for this. I stumbled upon this the other week and was something I wanted to setup, and hoped would be easier to use ansible with. Also a big yes please to a nice git tutorial, that would be fantastic.
Thank you for sharing this! For awhile, I was using AWX and then switched to Rundeck when AWX moved to requiring k8s. But while Rundeck is great and I love it, it's a little overkill. This fits the bill perfectly!
I have been running semaphore for over a year and it’s been rock solid in terms of executing scheduled tasks and it’s very light weight. However it has a few annoying bugs that haven’t been fixed that impact me so I’m actually evaluating rundeck. I also like that rundeck can do more than just ansible but hate that it uses Java and takes 2 GB of memory out of the box with no tasks running. That’s like 4x the memory of my next most memory hungry container. It feels bulky to run in docker which is a shame.
Hi, Christian Unfortunately, since Red Hat has been taken over by IBM, it is no longer possible to use Red Hat products. Especially Ansible Tower, but this semaphore looks very good and has good features You also showed this in the best possible way Thank you very much🙏👌🙏👌💪
Great video. I have used AWX (Ansible Tower open source) and also Rundeck as Ansible controllers before. All are great and have good features, but this looks very cool! Thanks for sharing Christian, I will try out for my home setup.
@@KristianKirilov Why do you need both? Because Rundeck is more than just a workflow tool, I use it to build AMI's, create infrastructure with Terraform, docker builds and anything that an admin can do I automate it, that's why.
Very nice. This could be a great way to help a team of sysadmins not having to worry too much about routine tasks. And yes, I would like to see a video on git. 😅
Finally, I got everything up and running. However, it was not an easy task. Like others who experienced problems, i spend many hours to figure things out. The first problem was with the docker-compose file. I experienced a problem using the database that was installed with the docker-compose files. i already explained how i solved it. The second problem was the SSH connections with Github. First, i make my repository public so that i didn't need to use SSH. That seems to work. Second was the SSH connection to the target server. After hours i finally found out that you have to use the private and public generated keys of the container where you installed Semaphore and not of your Windows, MAC, or whatever machine where your browser is installed, because you are running Semaphore in a container. Once i figure that i was able to connect through SSH to Github and also to the target machine. You can copy the public key to the target machine with the SSH-copy command from the command line of your container after you generate a key. Last but not least, in the video Christian use VS code to move his playbooks to Github. He didn't mention that if you don't use VS-code or you don't know how to do it with VScode you can also do it in GitHub self by uploading it. I hope this helps.
This is where I’m having trouble too. I suspected it has to be the keys generated from inside the container it’s running on not the host key. Are you able to explain this further? Need help understanding it more
Hi Chris, great video. Would you be able to cover Ansible AWX? I think it would be beneficial for the community since that project is used more in enterprise setups than this. Anything else keep up the great work love the vids.
Not sure whether AWX/Tower is worth the trouble in a homelab. It's intended for environments where auditing, enforcement, privilege seperation etc. are a concern. In a homelab you are usually the only one making changes, you know who screwed up, if something is wrong. You are provisioning the hardware, the VMs and containers, you write the configs etc. Although I sometimes whish for it, but no tool can protect me from my own stupidity. There's no one arround who knows better and AWX doesn't change that. It does solve one problem though: in a sufficiently hardned environment you don't want to do all the admin work from your workstation. You'll want to do that from a jump host. AWX/Tower can be that jump host, but just SSHing into a small VM, pulling the latest versions of your playbooks and running them by hand is way simpler.
Thank you for this video. I am currently running ubuntu on my servers and managing updates with canonical landscape. This is exactly what i searched for because i am moving my servers from ubuntu to debian and needed an easy tool to automate my updates and some other tasks. As always a verry good and informative video. Vielen Dank
I've used Semaphore for almost a year now, it lack some docs and some functions but other than that it is a nice GUI for Ansible playbooks. Note that i use it at work in small scale (for now). The server is easy to install and maintain, friendly GUI, nice to have the Ansible code in a repository (otherwise people just hack in the terminal/manual work).
Hi Christian, vielen Dank für diese geile Software. Meinen heutigen Arbeitstag habe ich damit verbracht, alle scripte umzubauen und Semaphore zu pflegen. Jetzt darf meine Endlosliste in RoyalTSX verschwinden
Great video as always ! In a homelab setup, this is really great but in a professional context, the constraint of having the ansible binary on the semaphone server is so unfortunate. The flexibility to have a remote ansible runner is so much more powerfull and unlocks the ability to use different ansible versions. This is particularly useful when u have large teams that each maintain a bunch of playbooks and don't have the time or resources to all conform to a specific ansible version. Remote ansible runners also allows u to manage client infrastructure so much more easily.
Thank you! I think the target group for Ansible Semaphore is really the small lightweight environment, where this might not be a big deal. But sure, that type of feature would be awesome.
Thanks for sharing, great stuff 👍👍. A github vid would be highly appreciated. As you mentioned it's not very intuitive learning all the different tasks and steps, at least for me.
Great video, Christian! I have already automated most of my machines in my homelab with ansible. Mostly using ansible-pull in order to avoid the need of a central server that controls all the ansible playbooks. Because that's what puzzles me the most when thinking of tools like Semaphore: you need a machine to install it on, preferably using Docker, and you also mentioned that it is recommended to have it behind Traefik or Nginx. I fully agree. But that raises the chicken and egg question. I want every machine in my network to be controlled and configured by Ansible playbooks, including my reverse proxy, and even the Semaphore server itself 🤪
Well, you put the files on your laptop and deploy the server ones to install some git server, webserver, docker, ansible, etc. After that log into this and connect it to the same server and put the files in a repo and delete the old files from laptop.
Excellent point. Another thought occurred to me as well though. We have all the benefits of version control for the playbooks, but we're back to untracked ClickOps for all the stuff that is setup in Semaphore.
Hi Christian, for the first step when create the ssh key, it show the error "Request failed with status code 400". Anyone know how to solve it ? (the key already have -----BEGIN OPENSSH PRIVATE KEY----- -----END OPENSSH PRIVATE KEY-----
While I like Semaphore I'm much more into AWX, I like it's Operator and its Kubernetes integration. It will spin up a new container for any playbook run. You can create custom runners with custom ansible galaxy roles and stuff, too. It's pretty slick.
yes, I agree with some of the comments. AWX is so far, way more robust. Maybe this is better for people that don't need all the stuff that comes with AWX. Like a lightweight alternative.
I've been looking to Semaphore and Rundeck for some time. I'm considering using one of the two for work. It seems like Rundeck is pretty heavy and not so intuitive, and sempahore UI/UX design is very pleasant. But if i understand correctly, there is no API versionning in Semaphore, and that is too scary. I'll keep it for my home lab as well. Thank you for the video (yes i'm late)
If you have a Kubernetes cluster, AWX installation is super easy, barely an inconvenience! ;) Its featureset is also better and it's also more widely used.
Hi Christian, I'm not sure if you did this on purpose, but the playbooks you mentioned are only in the ansiblesemaphore branch, not the main(default) one. Looks like some folks are looking for them, based on the comments below.
Great video but i don't understand how to handle the SSH keys for the target machines using semaphore on docker. I mean, i am getting an error saying that it cannot find an ssh key inside "/tmp/semaphore/.ssh/id_rsa". But this is a path inside the docker container volume. Do i manually need to copy the key inside the container? Thank you
Was looking for a way to us a jump box with the inventory. I setup an ssh config on the ansible server and am able to connect through the terminal using the jump servers. Unfortunately using the Web UI it is not working.
Very neat! I'm just starting to learn more about Ansible as I don't really deploy new containers/VMs all that often, but it would be nice to be able to automate and synchronise my user accounts, post install, to SSSD. Thank you.
Great vid as always and informative. I have dabbled with ansible a few times and keep navigating back to command line. This is enough to roll one out again and see. Question - are your playbooks available on your GitHub anywhere? I love a good set of playbooks to beg, steal, borrow :)
I worked out "git for sysadmins" the hard way by trial and error and pestering some of our developers when I got stuck but video resource to point new team members to would be amazing. You should do it :)
I ditched dark mode after years of eye strain that I just couldn't beat. Haven't looked back since. I still don't know if this is because it's easier on the eyes to see fine details in light mode, or if it's just the fact that so many websites use light mode, that switching back and forth between them hundreds of times a day going from my terminal or IDE to light webpages is strenuous. I so miss the sleek themes of dark mode though. There is this one called doom-laserwave on Emacs that is just chef's kiss.
Great video. I have been slowly moving stuff into Semaphore, and the more I use it I like it. There is only one thing that annoys me a bit. If you are trying to watch the run, using the output console, it is not a "live" console. So if you want to see updated output, you need to hit refresh on your browser. A bit annoying, but I've built it into my workflow, so it's no big deal. Honestly, that is really being nit-picky.
Hi, Thank you for such an informative video. i notice that at the beginning you are using a web UI that by clicking on any ICON you can connect to a web console, cli, or any interface that your homeland has. so is the teleport UI?
In the past I have worked with Jenkins as frontend for Ansible jobs. Due to the embedded scriptengine in Jenkins it was possible to make 'stages' which depend on each other. This is extremely useful for things like automated testing and automated deployment. The next stage, with it's linked ansible playbook then is fired when the previous one is a success. Is Semaphore capable of doing something like that?
I've not looked into that, I think that you would have to combine ansible tasks inside a single playbook with if/else statements to do that, or use another automation tool like kestra, this is able to execute different flows from others depending on a result
Your tutorial is great, thank you for your effort. Just a quick question, I also automate the apt-update but within Ubuntu 22.04 server update process, you must click OK to proceed at the prompt screen for some questions about restarting a certain services. How do you preset those option to automatically "OK"? Again, thank you!
Yeah, sometimes, it depends on the machine. On important ones, I just do the updates, but reboot them at maintenance timeframes. On demo servers, I just update and reboot automatically.
I tried 5 different configuration and all of them gives me the same output: always exiting with code 2. I don't know where or what i'm doing wrong but i'm not able to make this application run in my home docker instance
I would absolutely love a github tutorial, i'm not a developer but i would love to know how to make use of it for my linux vm's and docker containers etc
Christian, I'm stuck passing github action secrets into the fifsky/ssh-action. It always comes out as a blank value when 'docker compose up' runs. I've also tried appleboy/ssh-action which is a little different but I get the same result. I am able to pass non secret vars like env vars defined in the github action workflow. Any advice? Great videos! Thanks!
You could share your take on ... running Ansible play from the Terraform, or running Terraform from the Ansible. IMHO... booth solutions feels more like an "hacks". Idea is to have self-contained project, which you can spin up or tear down with a single command. I mean, all the pieces for that specific project... LVMs, S3 buckets, DNS, Containers, Network, etc.
I am just wondering how it differs from AWX and Ansible Tower? I will check and give it a chance. Looks pretty nice. I have only one question. What kind of dashboard it is? I am using Heimdall, however this one looks fantastic.
Hey Chris, great video. Can you please shed some light on using CLI arguments in ansible-semahpore? I have a requirement wherin I have to use overriding CLI arguments. It would be very helpfull if you give me more info on this or if you could point me to a video. Thanks in advance.
I know developers who not uses dark mode. They are not really IT guys 😅. I use AWX on production environments. I like cos I can do some API calls to extract data or update some configuration. Have Ansible Semaphore this feature too? I will study more about it.
Hi Chris, I would find it very useful to have a github tutorial, especially I noticed during this video how you created your apt update script in your git video's repository from your vscode, the linking here would be really helpful to me. Thx Andrew
What a great video, I love it. Not sure if someone covered it already, but the demo at the end referred to UPDATING the apt packages, but it actually UPGRADED them. Big difference in the apt world. One is checking for available updates while the other is applying them. I was surprised when you checked on one of the servers and found that no upgrades were pending.
Haha.... Real IT Guys used to work in dark mode all the time as there was no other choice on those old IBM, Honeywell, and NCR mainframes and UNIX terminals. Cheers!
Can the adding of inventory items be automated in Ansible? I was searching for how the configuration items are being inventoried in the real IT world to study for my exam. By configuration items I mean all the hardware, software, interfaces and documentations to establish a baseline so it can be used in the configuration audit later on (FYI, I have no background in network or IT. So please let me know if my question is irrelevant to this topic.)
**Question:** Is it feasible to establish a dynamic inventory through the web user interface? For instance, can an inventory.yml configured to retrieve host facts via the NetBox API be created? Assume that there exists a playbook designed for deploying virtual machines within a VMware environment utilizing the VMware collection, whereby the inventory is populated dynamically from the NetBox API.
Excellent video.
As you mentioned, it would be nice to have a video about GIT and the differences between github and gitlab, also selfhosted options like gitea.
So far your content is rock solid and already a source of knowledge that i use for reference on my homelab adventures.
i used this about 6 years ago in its very early beta-alpha version :D
nice to see it matured so much..
This is exactly what I have been looking for... Now my week is booked for Ansible.
Wonderful, this video is just as I got into Ansible. I would really love a video on Git with specifics for the Ops guys, how does it improve the usual processes
Great vid. Thank you. Exactly what I was searching for! A github tutorial vid would be very helpful for homelab networkers, engineers and hobby it-fans!
Thanks for the demo/review of Semaphore. Have heard of it, but not used it. Will have to give it a look for home use. It does appear to be something of AWX-lite.
Deine Videos und deine Arbeit liefern so viel Mehrwert. DANKE CHRISTIAN !
Thanks for this. I stumbled upon this the other week and was something I wanted to setup, and hoped would be easier to use ansible with. Also a big yes please to a nice git tutorial, that would be fantastic.
Thank you for sharing this! For awhile, I was using AWX and then switched to Rundeck when AWX moved to requiring k8s. But while Rundeck is great and I love it, it's a little overkill. This fits the bill perfectly!
I have been running semaphore for over a year and it’s been rock solid in terms of executing scheduled tasks and it’s very light weight. However it has a few annoying bugs that haven’t been fixed that impact me so I’m actually evaluating rundeck. I also like that rundeck can do more than just ansible but hate that it uses Java and takes 2 GB of memory out of the box with no tasks running. That’s like 4x the memory of my next most memory hungry container. It feels bulky to run in docker which is a shame.
Great video as always! And YES. I would LOVE a GIT tutorial. I still have not fully wrapped my head around that!
Yes pleasee, I would really like a video on gitops explaining basic concepts (maybe with demos). Also Nomad, there aren't many videos about it
Thank you, this was useful. I don't use too much UIs but this is really cool.
A GIT tutorial would be very helpful. Had problems to integrate it with Ansible.
I have been putting off Anisble. Until now. Thanks Christian!
as always, ever so informative and aspiring for us, homelab admins... Thanks, Chris. Keep up the great work 👍
Awesomeness! Thanks for the very useful presentation Christian. Ansible is so powerful and useful.
This is something that’s been on my “to look into” list for about a year now , thanks for the video
Hi Chris... YES absolutely... We all would LOVE you do a tutorial on GIT... Please !!!
Hi, Christian
Unfortunately, since Red Hat has been taken over by IBM, it is no longer possible to use Red Hat products. Especially Ansible Tower, but this semaphore looks very good and has good features
You also showed this in the best possible way
Thank you very much🙏👌🙏👌💪
I’m using it from the last year. Great tool for sysadmins and devops teams 👍
Seems almost like an AWX/Ansible Tower light version. Nice video as always. Thanks for all you do for us!
Great video, I would also love to see a "Git for Sys Admins" type video!
Great video. I have used AWX (Ansible Tower open source) and also Rundeck as Ansible controllers before. All are great and have good features, but this looks very cool! Thanks for sharing Christian, I will try out for my home setup.
Sorry just wondering why you need both of them? AWX is not able to act as a controller?
Sir, I am novice here what is your experience with AWX vs RunDeck vs this tool Semaphore?
@@KristianKirilov Why do you need both? Because Rundeck is more than just a workflow tool, I use it to build AMI's, create infrastructure with Terraform, docker builds and anything that an admin can do I automate it, that's why.
It's basically Jenkins/Gitlab Pipeline focused only on Ansible. Change my mind!!!
Yes but with Maintained software and no legacy and vulnerable code…
Great video Chris, a Git video would also be great. Thanks
Very nice. This could be a great way to help a team of sysadmins not having to worry too much about routine tasks.
And yes, I would like to see a video on git. 😅
Finally, I got everything up and running. However, it was not an easy task. Like others who experienced problems, i spend many hours to figure things out. The first problem was with the docker-compose file. I experienced a problem using the database that was installed with the docker-compose files. i already explained how i solved it. The second problem was the SSH connections with Github. First, i make my repository public so that i didn't need to use SSH. That seems to work. Second was the SSH connection to the target server. After hours i finally found out that you have to use the private and public generated keys of the container where you installed Semaphore and not of your Windows, MAC, or whatever machine where your browser is installed, because you are running Semaphore in a container. Once i figure that i was able to connect through SSH to Github and also to the target machine. You can copy the public key to the target machine with the SSH-copy command from the command line of your container after you generate a key. Last but not least, in the video Christian use VS code to move his playbooks to Github. He didn't mention that if you don't use VS-code or you don't know how to do it with VScode you can also do it in GitHub self by uploading it. I hope this helps.
This is where I’m having trouble too. I suspected it has to be the keys generated from inside the container it’s running on not the host key. Are you able to explain this further? Need help understanding it more
@@mohammedabdullahi5145 ever get any answers with that? having that problem now
Hi Chris, great video. Would you be able to cover Ansible AWX? I think it would be beneficial for the community since that project is used more in enterprise setups than this. Anything else keep up the great work love the vids.
AWX is also a total pain to host and use :)
@@BenjaminArntzen 2% less pain on rancher .... lol
@@ThePswiegers s/less/more/ 😞
Not sure whether AWX/Tower is worth the trouble in a homelab. It's intended for environments where auditing, enforcement, privilege seperation etc. are a concern. In a homelab you are usually the only one making changes, you know who screwed up, if something is wrong.
You are provisioning the hardware, the VMs and containers, you write the configs etc. Although I sometimes whish for it, but no tool can protect me from my own stupidity. There's no one arround who knows better and AWX doesn't change that.
It does solve one problem though: in a sufficiently hardned environment you don't want to do all the admin work from your workstation. You'll want to do that from a jump host. AWX/Tower can be that jump host, but just SSHing into a small VM, pulling the latest versions of your playbooks and running them by hand is way simpler.
@@BenjaminArntzen if you use the latest version of tower you can run with only one docker run command....AWX in latest version is another story
Thank you for this video. I am currently running ubuntu on my servers and managing updates with canonical landscape. This is exactly what i searched for because i am moving my servers from ubuntu to debian and needed an easy tool to automate my updates and some other tasks. As always a verry good and informative video. Vielen Dank
Thank you so much! I'm glad you enjoyed watching it :)
8:04 "real IT guys should never work without Dark Mode" this is actually true 💯, i enjoy your videos more coz even the background behind you is dark 🌙
Glad you enjoy it!
I've used Semaphore for almost a year now, it lack some docs and some functions but other than that it is a nice GUI for Ansible playbooks. Note that i use it at work in small scale (for now). The server is easy to install and maintain, friendly GUI, nice to have the Ansible code in a repository (otherwise people just hack in the terminal/manual work).
This project has come a long way in the last couple years
Thank U master…. I appreciate your videos 🎉🎉🎉
YES. Do the git video please. I got ansible working today and it blowing my mind. Having trouble integrating semaphore but I’ll get it.
I'll make more videos about Git in fall this year, stay tuned! :)
Hi Christian,
vielen Dank für diese geile Software.
Meinen heutigen Arbeitstag habe ich damit verbracht, alle scripte umzubauen und Semaphore zu pflegen.
Jetzt darf meine Endlosliste in RoyalTSX verschwinden
Vielen Dank für deinen Support! Freut mich sehr dass dir das Video auch auf der Arbeit weitergeholfen hat 😊🙏
Awesome video as usual.
Thank you Chris🍻
Great video as always !
In a homelab setup, this is really great but in a professional context, the constraint of having the ansible binary on the semaphone server is so unfortunate.
The flexibility to have a remote ansible runner is so much more powerfull and unlocks the ability to use different ansible versions.
This is particularly useful when u have large teams that each maintain a bunch of playbooks and don't have the time or resources to all conform to a specific ansible version.
Remote ansible runners also allows u to manage client infrastructure so much more easily.
Thank you! I think the target group for Ansible Semaphore is really the small lightweight environment, where this might not be a big deal. But sure, that type of feature would be awesome.
as of today you can use runners
Thanks for sharing, great stuff 👍👍. A github vid would be highly appreciated. As you mentioned it's not very intuitive learning all the different tasks and steps, at least for me.
Great video, Christian! I have already automated most of my machines in my homelab with ansible. Mostly using ansible-pull in order to avoid the need of a central server that controls all the ansible playbooks. Because that's what puzzles me the most when thinking of tools like Semaphore: you need a machine to install it on, preferably using Docker, and you also mentioned that it is recommended to have it behind Traefik or Nginx. I fully agree. But that raises the chicken and egg question. I want every machine in my network to be controlled and configured by Ansible playbooks, including my reverse proxy, and even the Semaphore server itself 🤪
Yeah that's a problem :D I think you should have the rev proxy already in place.
Well, you put the files on your laptop and deploy the server ones to install some git server, webserver, docker, ansible, etc.
After that log into this and connect it to the same server and put the files in a repo and delete the old files from laptop.
Excellent point. Another thought occurred to me as well though. We have all the benefits of version control for the playbooks, but we're back to untracked ClickOps for all the stuff that is setup in Semaphore.
Hi Christian, for the first step when create the ssh key, it show the error "Request failed with status code 400". Anyone know how to solve it ? (the key already have -----BEGIN OPENSSH PRIVATE KEY----- -----END OPENSSH PRIVATE KEY-----
Great video Christian, I’m installing this tomorrow!
While I like Semaphore I'm much more into AWX, I like it's Operator and its Kubernetes integration. It will spin up a new container for any playbook run. You can create custom runners with custom ansible galaxy roles and stuff, too. It's pretty slick.
Thank you Christian your work is really appreciated.
Now we need Web UI for Terraform
yes, I agree with some of the comments. AWX is so far, way more robust. Maybe this is better for people that don't need all the stuff that comes with AWX. Like a lightweight alternative.
My main problem with awx is the current supported installation method not being docker-compose anymore, but their operator which requires kubernetes.
@@sysp42 agreed
Hi, thank for the video! A video on how to deploy a self-hosted sentry would be great
About checking the disk space ,maybe a node_exporter and then define an alert in Prometheus will be a more better option?
Sure, it was just an example :) Alerting is still a topic on my list to do.
Protip: make ansible-lint a habit. It will improve your playbooks and catch bugs early
I've been looking to Semaphore and Rundeck for some time.
I'm considering using one of the two for work.
It seems like Rundeck is pretty heavy and not so intuitive, and sempahore UI/UX design is very pleasant.
But if i understand correctly, there is no API versionning in Semaphore, and that is too scary. I'll keep it for my home lab as well.
Thank you for the video (yes i'm late)
Thank you for the great explanation. 😊
Could you advise how to run playbooks through the JUMP server? Is it possible in the Semaphore?
I like to understand better how git works!! Great video BTW!
That's a good idea the Git Video!
Thanks for this tutorial, I'm gonna use this at my job ahah!
Finally, something simple to install and use rather than having to resort to Ansible Tower (or AWX).
How is it compared to AWX?
@@kavishgour3267 second the question
If you have a Kubernetes cluster, AWX installation is super easy, barely an inconvenience! ;)
Its featureset is also better and it's also more widely used.
@@LampJustin This is true, yes. But that requires that you know Kubernetes.
Lol...simple my a$$. The process may look simple but the getting the right results is not. I still can't get it running, trying to use it in Docker
thanks for the demo and update, have a great day
your channel is gold
I turned the automation around. I use ansible-pull on my machines via a crontab so they update themselves
Hi Christian, I'm not sure if you did this on purpose, but the playbooks you mentioned are only in the ansiblesemaphore branch, not the main(default) one. Looks like some folks are looking for them, based on the comments below.
As always you post great videos.. excellent app.. I will start to use it
This was very useful. Thanks so much for sharing!
Glad it was helpful!
Great video but i don't understand how to handle the SSH keys for the target machines using semaphore on docker. I mean, i am getting an error saying that it cannot find an ssh key inside "/tmp/semaphore/.ssh/id_rsa". But this is a path inside the docker container volume. Do i manually need to copy the key inside the container? Thank you
Great Video!!! Please do the Git video you mentioned. That would be a huge help!
Was looking for a way to us a jump box with the inventory. I setup an ssh config on the ansible server and am able to connect through the terminal using the jump servers. Unfortunately using the Web UI it is not working.
awesome, will check it out soon.
Very neat!
I'm just starting to learn more about Ansible as I don't really deploy new containers/VMs all that often, but it would be nice to be able to automate and synchronise my user accounts, post install, to SSSD.
Thank you.
Would have been nice to see something about dynamic inventory. Use cases: terraform -> ansible, or maas -> ansible.
Great vid as always and informative. I have dabbled with ansible a few times and keep navigating back to command line. This is enough to roll one out again and see. Question - are your playbooks available on your GitHub anywhere? I love a good set of playbooks to beg, steal, borrow :)
I worked out "git for sysadmins" the hard way by trial and error and pestering some of our developers when I got stuck but video resource to point new team members to would be amazing. You should do it :)
I ditched dark mode after years of eye strain that I just couldn't beat. Haven't looked back since. I still don't know if this is because it's easier on the eyes to see fine details in light mode, or if it's just the fact that so many websites use light mode, that switching back and forth between them hundreds of times a day going from my terminal or IDE to light webpages is strenuous.
I so miss the sleek themes of dark mode though. There is this one called doom-laserwave on Emacs that is just chef's kiss.
AWX while maybe a bit more complex has more features and is backed by Red Hat so development is going to keep expanding and improving it
Great video. I have been slowly moving stuff into Semaphore, and the more I use it I like it. There is only one thing that annoys me a bit. If you are trying to watch the run, using the output console, it is not a "live" console. So if you want to see updated output, you need to hit refresh on your browser. A bit annoying, but I've built it into my workflow, so it's no big deal. Honestly, that is really being nit-picky.
You behind a reverse proxy? If so, make sure WebSockets is enabled
@@mvoong Ohh, good call. I totally missed that when I set it up. Thanks for the help there!
I might have lost the point, but the docker version of Ansible Semaphore includes also ansible engine?
Yes, it is.
Hi, Thank you for such an informative video. i notice that at the beginning you are using a web UI that by clicking on any ICON you can connect to a web console, cli, or any interface that your homeland has. so is the teleport UI?
Thanks! :) I believe that was my homelab dashboard
In the past I have worked with Jenkins as frontend for Ansible jobs. Due to the embedded scriptengine in Jenkins it was possible to make 'stages' which depend on each other. This is extremely useful for things like automated testing and automated deployment. The next stage, with it's linked ansible playbook then is fired when the previous one is a success. Is Semaphore capable of doing something like that?
I've not looked into that, I think that you would have to combine ansible tasks inside a single playbook with if/else statements to do that, or use another automation tool like kestra, this is able to execute different flows from others depending on a result
what kind of storagetechnology do you use for your kubernetes environment in your homelab? local, nfs or ceph/rbd???
Your tutorial is great, thank you for your effort. Just a quick question, I also automate the apt-update but within Ubuntu 22.04 server update process, you must click OK to proceed at the prompt screen for some questions about restarting a certain services. How do you preset those option to automatically "OK"? Again, thank you!
Yeah, sometimes, it depends on the machine. On important ones, I just do the updates, but reboot them at maintenance timeframes. On demo servers, I just update and reboot automatically.
I tried 5 different configuration and all of them gives me the same output: always exiting with code 2.
I don't know where or what i'm doing wrong but i'm not able to make this application run in my home docker instance
We can do all the things Ansible semaphore can do and a bit more with Jenkins tbh :) The semaphore UI definitely looks cooler, I'll give it that. :)
That T-Shirt is awesome
Oh yeah, thanks :D It's indeed amazing
Cool stuff, I went to your repo but it looks like the folders you show in the video are not there
Same here
I would like to know how you set Ansible to notify you when a server needs a restart after update/upgrade
I would absolutely love a github tutorial, i'm not a developer but i would love to know how to make use of it for my linux vm's and docker containers etc
Christian, I'm stuck passing github action secrets into the fifsky/ssh-action. It always comes out as a blank value when 'docker compose up' runs. I've also tried appleboy/ssh-action which is a little different but I get the same result. I am able to pass non secret vars like env vars defined in the github action workflow. Any advice?
Great videos! Thanks!
You could share your take on ... running Ansible play from the Terraform, or running Terraform from the Ansible. IMHO... booth solutions feels more like an "hacks". Idea is to have self-contained project, which you can spin up or tear down with a single command. I mean, all the pieces for that specific project... LVMs, S3 buckets, DNS, Containers, Network, etc.
Amazing! As always!
Thanks again!
I am just wondering how it differs from AWX and Ansible Tower? I will check and give it a chance. Looks pretty nice. I have only one question. What kind of dashboard it is? I am using Heimdall, however this one looks fantastic.
It's free and simpler. AWX is a pain to setup
Hey Chris, great video. Can you please shed some light on using CLI arguments in ansible-semahpore? I have a requirement wherin I have to use overriding CLI arguments. It would be very helpfull if you give me more info on this or if you could point me to a video. Thanks in advance.
about your advertising... How did you automate adding a newly created server to teleport? Any ansible playbook for this?
I would like to see a Git tutorial :) , great video.
Appreciate the info as always 🙏
I know developers who not uses dark mode. They are not really IT guys 😅.
I use AWX on production environments. I like cos I can do some API calls to extract data or update some configuration. Have Ansible Semaphore this feature too?
I will study more about it.
Hi Chris, I would find it very useful to have a github tutorial, especially I noticed during this video how you created your apt update script in your git video's repository from your vscode, the linking here would be really helpful to me. Thx Andrew
What a great video, I love it. Not sure if someone covered it already, but the demo at the end referred to UPDATING the apt packages, but it actually UPGRADED them. Big difference in the apt world. One is checking for available updates while the other is applying them. I was surprised when you checked on one of the servers and found that no upgrades were pending.
Christian: Real IT guys should never work without dark mode.
Us: This is the way *nod
The docker file of the Semaphore project has been removed from your GitHub page.
Haha.... Real IT Guys used to work in dark mode all the time as there was no other choice on those old IBM, Honeywell, and NCR mainframes and UNIX terminals. Cheers!
Any reason you are not using `unattended-upgrades` to keep packages up to date? It will also handle reboots for you...
I don’t like fully automatic reboots, doing the updates ima scheduled window seems better for me
Hi Chris , do you have any playbook examples on only upgrading security patches for ubuntu servers specifically ?
Can the adding of inventory items be automated in Ansible? I was searching for how the configuration items are being inventoried in the real IT world to study for my exam. By configuration items I mean all the hardware, software, interfaces and documentations to establish a baseline so it can be used in the configuration audit later on (FYI, I have no background in network or IT. So please let me know if my question is irrelevant to this topic.)
There are dynamic inventory sources, but I haven't tried any of them, yet.
Tried Teleport a couple of years ago. It was clearly rushed to market and was basically like an early beta release.
**Question:** Is it feasible to establish a dynamic inventory through the web user interface? For instance, can an inventory.yml configured to retrieve host facts via the NetBox API be created?
Assume that there exists a playbook designed for deploying virtual machines within a VMware environment utilizing the VMware collection, whereby the inventory is populated dynamically from the NetBox API.
That's a great question, honestly I don't know yet, but I want to take a look at netbox somewhere next year.