This web UI for Ansible is so damn useful!

Поделиться
HTML-код
  • Опубликовано: 3 июн 2024
  • Ansible Semaphore is the perfect tool for automating your servers, applications, and clean up tasks with Ansible Playbooks. In this video, I'll quickly show you how to install it and some of the things you can do with it. If you're new to Ansible, I recommend checking out some of my older videos first to get some foundational knowledge. Let's get started automating your Homelab with Ansible Semaphore! #Ansible #Homelab #Automation
    Teleport-*: goteleport.com/thedigitallife
    Related Videos
    • Simple automation for ... , • Automate your Docker d... , • Automate your virtual ...
    ________________
    💜 Support me and become a Fan!
    → christianlempa.de/patreon
    💬 Join our Community!
    → christianlempa.de/discord
    ________________
    Read my Tech Documentation
    christianlempa.de/docs
    My Gear and Equipment
    christianlempa.de/kit
    ________________
    Timestamps:
    00:00 - Introduction
    00:47 - Advertisement-*
    01:33 - Install Ansible-Semaphore
    04:09 - How I'm using it in my Homelab
    07:51 - How to set up Ansible-Semaphore
    13:52 - Set up Task Templates
    ________________
    All links with "*" are affiliate links.

Комментарии • 358

  • @JonathanMarocco
    @JonathanMarocco Год назад +9

    as always, ever so informative and aspiring for us, homelab admins... Thanks, Chris. Keep up the great work 👍

  • @csgrullon
    @csgrullon 11 месяцев назад +39

    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.

  • @billramsey5252
    @billramsey5252 Год назад +20

    Great video as always! And YES. I would LOVE a GIT tutorial. I still have not fully wrapped my head around that!

  • @davidkamaunu7887
    @davidkamaunu7887 Год назад +2

    Awesomeness! Thanks for the very useful presentation Christian. Ansible is so powerful and useful.

  • @stone22121978
    @stone22121978 7 месяцев назад +1

    Deine Videos und deine Arbeit liefern so viel Mehrwert. DANKE CHRISTIAN !

  • @DanielRolfe
    @DanielRolfe Год назад

    This is something that’s been on my “to look into” list for about a year now , thanks for the video

  • @tomstechnews
    @tomstechnews Год назад +12

    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!

  • @kgottsman
    @kgottsman Год назад +19

    This is exactly what I have been looking for... Now my week is booked for Ansible.

  • @mistakek
    @mistakek Год назад +3

    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.

  • @johnjbateman
    @johnjbateman 10 месяцев назад

    I have been putting off Anisble. Until now. Thanks Christian!

  • @aceisastud
    @aceisastud 11 месяцев назад +1

    Seems almost like an AWX/Ansible Tower light version. Nice video as always. Thanks for all you do for us!

  • @VINII971
    @VINII971 8 месяцев назад

    Thank you Christian your work is really appreciated.

  • @PaulLittlefield
    @PaulLittlefield Год назад

    Great video Christian, I’m installing this tomorrow!

  • @benjaminshtark5977
    @benjaminshtark5977 Год назад +3

    i used this about 6 years ago in its very early beta-alpha version :D
    nice to see it matured so much..

  • @hitechredneck6366
    @hitechredneck6366 Год назад +2

    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.

  • @legooos
    @legooos Год назад +5

    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

  • @h3ct0rjs
    @h3ct0rjs Год назад +2

    Thank you, this was useful. I don't use too much UIs but this is really cool.

  • @alifiroozizamani7782
    @alifiroozizamani7782 Год назад +1

    Awesome video as usual.
    Thank you Chris🍻

  • @chrisgrigor1234
    @chrisgrigor1234 11 месяцев назад +4

    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
      @KristianKirilov 8 месяцев назад

      Sorry just wondering why you need both of them? AWX is not able to act as a controller?

    • @alakhniranjan716
      @alakhniranjan716 Месяц назад

      Sir, I am novice here what is your experience with AWX vs RunDeck vs this tool Semaphore?

  • @lucamotterle
    @lucamotterle Год назад

    I’m using it from the last year. Great tool for sysadmins and devops teams 👍

  • @TravisNewton1
    @TravisNewton1 11 месяцев назад +2

    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!

    • @ObjectiveTruthSeeker
      @ObjectiveTruthSeeker 5 месяцев назад

      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.

  • @chrisumali9841
    @chrisumali9841 Год назад

    thanks for the demo and update, have a great day

  • @ritchie1950
    @ritchie1950 10 месяцев назад

    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).

  • @easternpa2
    @easternpa2 10 месяцев назад +1

    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.

  • @emdlv
    @emdlv 11 месяцев назад

    Hi Chris... YES absolutely... We all would LOVE you do a tutorial on GIT... Please !!!

  • @somethingnew3338
    @somethingnew3338 2 месяца назад

    your channel is gold

  • @zombrix9490
    @zombrix9490 Год назад +3

    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

  • @cristobalgonzalez2959
    @cristobalgonzalez2959 Год назад +2

    Thank U master…. I appreciate your videos 🎉🎉🎉

  • @rasheed.a873
    @rasheed.a873 Год назад

    Appreciate the info as always 🙏

  • @horst.zimmermann
    @horst.zimmermann 10 месяцев назад

    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

    • @christianlempa
      @christianlempa  10 месяцев назад +1

      Thank you so much! I'm glad you enjoyed watching it :)

  • @373323
    @373323 Год назад +1

    awesome, will check it out soon.

  • @nickolaizein7465
    @nickolaizein7465 6 месяцев назад

    Amazing! As always!

  • @brunosolothurnmann9205
    @brunosolothurnmann9205 Год назад +6

    A GIT tutorial would be very helpful. Had problems to integrate it with Ansible.

  • @maxdiamond55
    @maxdiamond55 Год назад +4

    Great video Chris, a Git video would also be great. Thanks

  • @user-ue4jf8fw3m
    @user-ue4jf8fw3m Год назад +3

    Great video, I would also love to see a "Git for Sys Admins" type video!

  • @7rich79
    @7rich79 11 месяцев назад +2

    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. 😅

  • @Saulimedes
    @Saulimedes Год назад

    This was very useful. Thanks so much for sharing!

  • @hermesjrd
    @hermesjrd Год назад

    As always you post great videos.. excellent app.. I will start to use it

  • @transatlant1c
    @transatlant1c 11 месяцев назад

    This project has come a long way in the last couple years

  • @zombievaliste
    @zombievaliste Год назад

    That's a good idea the Git Video!
    Thanks for this tutorial, I'm gonna use this at my job ahah!

  • @janvanveldhuizen_visma
    @janvanveldhuizen_visma Год назад

    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 🤪

    • @christianlempa
      @christianlempa  Год назад

      Yeah that's a problem :D I think you should have the rev proxy already in place.

    • @autohmae
      @autohmae 11 месяцев назад

      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.

  • @kirksteinklauber260
    @kirksteinklauber260 9 месяцев назад

    I like to understand better how git works!! Great video BTW!

  • @farshadnick
    @farshadnick Год назад

    Thanks alot Christian 🤞

  • @bonao99
    @bonao99 Год назад

    Hi Chris, This is very helpful for beginners like me. Thanks. I could not find the sample file under the boilerplates/ansible/installation repo. Have they move to a diff folder?

  • @brentglover7333
    @brentglover7333 Год назад +2

    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 :)

  • @newallst
    @newallst 11 месяцев назад

    Thanks Christian!

  • @jamallmahmoudi9481
    @jamallmahmoudi9481 5 месяцев назад

    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🙏👌🙏👌💪

  • @franck4690
    @franck4690 Год назад

    Hi, thank for the video! A video on how to deploy a self-hosted sentry would be great

  • @VovaJuice1992
    @VovaJuice1992 Год назад

    Great video! TY!

  • @TheFern2
    @TheFern2 Год назад

    Hi Chris, great video! Quick question, for some of our devices that are on LTE we can't ssh, is there any way around that? maybe using another connection plugin that's not ssh?

  • @PeterNunnOZ
    @PeterNunnOZ Год назад +2

    Hey Christian, thanks for finding this... very interesting. Given this is sponsored by teleport, how would you use this with teleport providing the access? I'm very interested in how that would work.

  • @dmytrogr1391
    @dmytrogr1391 3 месяца назад

    Thank you for the great explanation. 😊
    Could you advise how to run playbooks through the JUMP server? Is it possible in the Semaphore?

  • @dirkmothes5136
    @dirkmothes5136 Год назад

    well done. great vid. go forward with automation ;-)

  • @chrisallen6010
    @chrisallen6010 3 месяца назад

    That T-Shirt is awesome

    • @christianlempa
      @christianlempa  3 месяца назад

      Oh yeah, thanks :D It's indeed amazing

  • @thedev2496
    @thedev2496 Год назад +4

    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.

    • @christianlempa
      @christianlempa  Год назад

      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.

    • @Roflmane
      @Roflmane 5 месяцев назад

      as of today you can use runners

  • @towesc
    @towesc Год назад +1

    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.

  • @badasmonk3y
    @badasmonk3y Год назад +62

    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.

    • @BenjaminArntzen
      @BenjaminArntzen Год назад +11

      AWX is also a total pain to host and use :)

    • @ThePswiegers
      @ThePswiegers Год назад +1

      @@BenjaminArntzen 2% less pain on rancher .... lol

    • @crackpippi
      @crackpippi Год назад +3

      @@ThePswiegers s/less/more/ 😞

    • @Gilgwathir
      @Gilgwathir Год назад +3

      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.

    • @elrus0o
      @elrus0o Год назад +1

      @@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

  • @ThereWillBeCake
    @ThereWillBeCake 11 месяцев назад

    Legend! Thanks for the video.

  • @SB-qm5wg
    @SB-qm5wg 11 месяцев назад

    That is really cool. TY

  • @LampJustin
    @LampJustin Год назад +6

    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.

  • @matthewhutchman3050
    @matthewhutchman3050 Год назад

    Great Video!!! Please do the Git video you mentioned. That would be a huge help!

  • @KL-tt
    @KL-tt Год назад

    Hi Chris , do you have any playbook examples on only upgrading security patches for ubuntu servers specifically ?

  • @Babbili
    @Babbili Год назад +1

    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 🌙

  • @DarkCHAOS714
    @DarkCHAOS714 Год назад

    Was just wondering what you matrix looking background is for your mac?

  • @nagisupercell
    @nagisupercell 11 месяцев назад

    This is so cool!

  • @supriyosarkar5132
    @supriyosarkar5132 10 месяцев назад +4

    It's basically Jenkins/Gitlab Pipeline focused only on Ansible. Change my mind!!!

    • @cuneiformemx3563
      @cuneiformemx3563 6 месяцев назад

      Yes but with Maintained software and no legacy and vulnerable code…

  • @almircandidodepaula6828
    @almircandidodepaula6828 11 месяцев назад

    Nice video, I started use semaphone.

  • @adityaelangovan4124
    @adityaelangovan4124 11 месяцев назад

    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.

  • @robertroygaard902
    @robertroygaard902 Год назад

    what kind of storagetechnology do you use for your kubernetes environment in your homelab? local, nfs or ceph/rbd???

  • @agusaris5031
    @agusaris5031 Год назад +2

    Now we need Web UI for Terraform

  • @williamevans6830
    @williamevans6830 11 месяцев назад

    New subscriber here absolutely love the content. Also I concur I work in IT and Dark mode is everywhere for me 😂

  • @kurapatikumar2296
    @kurapatikumar2296 9 месяцев назад

    Very informative

  • @lensherm
    @lensherm Год назад +1

    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.

  • @minifig404
    @minifig404 Год назад +1

    Would have been nice to see something about dynamic inventory. Use cases: terraform -> ansible, or maas -> ansible.

  • @Digitronus
    @Digitronus Год назад

    Hi Chris, I really enjoy always your videos.
    I was just thinking how this is different to AWX or Jenkins ?

    • @denguk
      @denguk Год назад

      It much easier

  • @jamesnb
    @jamesnb 3 месяца назад

    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!

    • @christianlempa
      @christianlempa  3 месяца назад

      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.

  • @adibbins
    @adibbins 11 месяцев назад +1

    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

  • @djfirestorm1993
    @djfirestorm1993 Год назад +1

    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

    • @christianlempa
      @christianlempa  Год назад

      Vielen Dank für deinen Support! Freut mich sehr dass dir das Video auch auf der Arbeit weitergeholfen hat 😊🙏

  • @tommsla123
    @tommsla123 Год назад

    Yes, I want this video about git

  • @Tethalion
    @Tethalion 10 месяцев назад

    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 :)

  • @k2beast879
    @k2beast879 10 месяцев назад

    What dashboard are you using in 4:47 ? Nice video !

  • @surgical_17
    @surgical_17 Год назад

    I would like to know how you set Ansible to notify you when a server needs a restart after update/upgrade

  • @DustinLussier
    @DustinLussier 4 месяца назад

    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!

  • @PaulBunkey
    @PaulBunkey Год назад +1

    +1 for Git video

  • @medazizchagour6750
    @medazizchagour6750 Год назад +1

    About checking the disk space ,maybe a node_exporter and then define an alert in Prometheus will be a more better option?

    • @christianlempa
      @christianlempa  Год назад

      Sure, it was just an example :) Alerting is still a topic on my list to do.

  • @AmitKumar-fn8px
    @AmitKumar-fn8px Год назад

    loveeeeddd itttt❤

  • @cyberfirestorm
    @cyberfirestorm 2 месяца назад

    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.

  • @yousufturkey9273
    @yousufturkey9273 3 месяца назад

    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?

    • @christianlempa
      @christianlempa  3 месяца назад

      Thanks! :) I believe that was my homelab dashboard

  • @Rnqkoisi
    @Rnqkoisi 2 месяца назад

    I would like to see a Git tutorial :) , great video.

  • @punch3n3ergy37
    @punch3n3ergy37 Год назад

    How are vault passwords handled?
    Can i change variables stored in a var.yml for the playbook for each run easily? Or do they have to be pushed to git before i can execute the playbook?
    Can i store passwords on a user level so that a playbook can always use the password from a user to authenticate against a service like vSphere? That would be a nice feature.

  • @NotADevOps
    @NotADevOps 11 месяцев назад

    You are a GOLD !!!

  • @Equality-and-Liberty
    @Equality-and-Liberty 11 месяцев назад +1

    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.

    • @mohammedabdullahi5145
      @mohammedabdullahi5145 8 месяцев назад

      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

    • @zacharyparadis6785
      @zacharyparadis6785 Месяц назад

      @@mohammedabdullahi5145 ever get any answers with that? having that problem now

  • @ewenchan1239
    @ewenchan1239 6 месяцев назад

    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.

  • @murtadha96
    @murtadha96 Год назад

    Would love a Git video

  •  11 месяцев назад +2

    Protip: make ansible-lint a habit. It will improve your playbooks and catch bugs early

  • @H4HDJD
    @H4HDJD Год назад

    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

  • @GrishTech
    @GrishTech Год назад +2

    Finally, something simple to install and use rather than having to resort to Ansible Tower (or AWX).

    • @kavishgour3267
      @kavishgour3267 Год назад +2

      How is it compared to AWX?

    • @legooos
      @legooos Год назад

      @@kavishgour3267 second the question

    • @LampJustin
      @LampJustin Год назад +1

      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.

    • @GrishTech
      @GrishTech Год назад +2

      @@LampJustin This is true, yes. But that requires that you know Kubernetes.

    • @LedufInfraLeDufiNFrA
      @LedufInfraLeDufiNFrA Год назад

      excellent video, as usual thank you chris😊

  • @odegraciajr
    @odegraciajr Год назад

    Thanks Noho Hank!

  • @VoklavTube
    @VoklavTube 11 месяцев назад

    about your advertising... How did you automate adding a newly created server to teleport? Any ansible playbook for this?

  • @SintaxBSD
    @SintaxBSD Год назад

    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