Installing Ansible AWX

Поделиться
HTML-код
  • Опубликовано: 11 сен 2024
  • Deploy Ansible AWX with Kubernetes.
    We will be installing Rancher k3s to handle our Kubernetes environment and Microsoft VScode to handle our SSH connection and perform file management.

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

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

    Thank you Calvin for this amazing walkthrough. I am doing a migration from puppet to ansible at work and needed the GUI bit. Came across your video at the right time. You're a life saver, people like you are a gem. subscribed immediately 😀

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

      How are you liking ansible over puppet?

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

    I've been recently migrating Ansible AWX version 17.0 (on docker) to the newest release 22.5 (awx operator and k8s) and I must say that it was essential for me to use your video, Calvin. Thank you very much as this is the best guide how to quickly install Ansible AWX. Brilliant work!

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

    Man, your videos deserve way more views! You really overview important topics in concise way that anyone from Junior to Senior engineer can comprehend. I liked the video from 2 YT accounts and subscribed :)

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

    Great tutorial, I was struggling to install this for 2 days and this is the only guide that worked

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

    Thanks for this. Really well explained and demonstrated.
    I've been struggling to get AWX deployed and completely got lost in an XY problem because I thought I needed minikube and docker and on down the bunny trail.

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

    Fantastic! I was able to follow along successfully and hope to see more. Thank you Calvin for the thorough explanations!

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

    Thanks Calvin!!! I am pretty familiar with Ansible on the command line but AWX/Tower is completely new to me. This video got me up and running when all the others I have looked at were confusing and misleading.

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

    A big thank you from me to you! My only trouble I had was having typos in a couple of the yaml files "apiversion:" instead of "apiVersion" { DO'H!! } Once I corrected those, I was "cooking with gas!" it's golden!

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

    Calvin, great video. This is very helpful for those of us who struggle with installing awx. I got up to 20 mins or so, but there is a new version of kustomize I would love to see an update on! The new version seems to be very different. Thanks!

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

    THANK YOU! I had tried several times to install AWX but to no avail, today I managed thanks to your video!

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

    Thanks for doing this. It's much easier and cleaner to install it this way in my opinion. Previously, I had followed the official documentation and ultimately got an AWX deployment built with minikube, but could never get the playbooks to run without errors. There were issues with the containers (where the jobs would run) not having permissions to the local gitlab directory. I followed advice from the community and read many forums but never got it to work. I decided to blow it away and start over with a new deployment. Hopefully I have better results this time.

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

    Kudo's to you man, the internet needs more people like you.

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

    Hey Calvin glad you see you are back with another video! Hope things are going well.

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

    Great video. Instructions are very clear and the result is a successful build. Thanks much Sir!

  • @earlanthonysilvania5551
    @earlanthonysilvania5551 2 года назад +1

    This is a great tutorial especially for a newbie like me.. Thank you

  • @Lines-In-The-Sand1
    @Lines-In-The-Sand1 Год назад +6

    Hey Calvin. Do you think you could do a video about managing AWX configuration as code? Like config-as-code to manage your credentials, project, templates, orgs, etc.? Seems like there's a lot of click-ops involved once AWX is set up- surely there must be a way to template this stuff and run it against a fresh install to get up and running quickly.

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

    Great video, Calvin. Thank you for giving this to the world.

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

    Excellent video. This is better than using microk8s which is a snap container.

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

    Ignore my last comment, I missed to define the tag, it worked now. Thank you!

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

    about mv , another option is to update the PATH var. Thank you for another super video.

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

    I followed your video to install awx 1.1.3 on Debian 11 and things mostly went ok, but I found that you need to install git, make and curl before you start the process or a lot of thing fail. Hopefully this helps someone else that runs into similar issues.

  • @KevinKnox-jo2nr
    @KevinKnox-jo2nr Год назад

    Success, and thank you very much. I was really stuck without you.
    Had a problem connecting to github to install the operator. The video did not show me I needed to find and plug in the release tag into the kustomization.yaml. That took a minute to figure out, but it was a simple fix. Worked with ref 1.1.0.
    Also a little problem getting the credential. I pasted from the install page, which uses a namespace of awx-demo, so the secret I needed to retrieve was awx-demo-admin-password. Again, an easy fix, but necessary.

    • @KevinKnox-jo2nr
      @KevinKnox-jo2nr Год назад

      awx-demo is correct and necessary as near as I can tell, so that's the admin password needed.

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

      What version of Kube you use ?

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

    In case anyone's wondering where references to "kustomize" have disappeared to in the latest awx-operator version (2.9.0 at time of writing), this functionality is now built-in.

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

    Great tutorial, but I want to know one more thing, how can I attach a persistent volume if I want to save any data after playbook execution

  • @MatthewGP
    @MatthewGP 2 года назад +1

    Hey Calvin! Great to see another video.
    It would be great if you did an updated setup guide getting up and running with AWX. I guess I will go find Rancher and figure out how that works. I am going to need a bigger lab!
    Congrats on the new gig with Palo? Last I saw you were with Juniper. Also, where do I keep my eye to catch your live streams once in awhile? On your RUclips about page, the Twitter and Blog link don't work.

    • @CalvinRemsburg0
      @CalvinRemsburg0  2 года назад

      Hello Matthew, an updated setup guide is being worked on now. I don't use Twitter, livestreams take too much from me and I cannot blog to save my life; the best place to catch me is here or LinkedIn.

  • @ChristopherGray-vq3fo
    @ChristopherGray-vq3fo 3 месяца назад

    Thank you Calvin.

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

    Excellent video! Appreciate it! I wonder if you could do another one with full Kubernetes cluster. Would be really appreciated it!

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

    Excellent video Calvin. Thank you. One issue. I tried and tried and tried to find the kubectl logs command that you used and was unsuccessful. I am not familiar with kubectl and tried all sorts of help on it and looked in the Github installation instructions but the command they provide there also did not work. Could you post the full command with the switches? In the video the command isn't even visible for a half second. So far I've been unsuccessful at playing the video frame by frame.

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

      Hey John, sorry for the delayed response. If you're still struggling, I would encourage you to check out the Lens software, it is a desktop app that connects to k8s clusters and simplifies almost every operation (including looking into logs).

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

    very good tutorial

  • @virgiliovargas3052
    @virgiliovargas3052 7 месяцев назад

    Thank you, very informative!

  • @sabilsanad2432
    @sabilsanad2432 2 года назад +1

    Hello, Calvin, This video is very great, Thank you very very much.
    I have just one question about k8s: How can we added or used the object called awx or kustomization on K8S clustern so these object are not predefined objects on k8s?
    Other Question: Can you please do a video explaining how can we access AWX after installing it behind a firewall using ingress/ LoadBalancer?

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

    Good day! Thank you for the great instruction! Can you help me with the following question? I need to map local folders from server into the awx-task pod. In docker-compose, this was done using volumes. How can I do this here, could you give me some guidance?

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

    The install worked great, however trying to hook into AWS, a private github repo, or an external RDS DB. i realized that for some reason my pods cannot connect to the internet. Would you happen to know if this is a common awx or k3s issue?

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

    Great video, thanks Calvin. I'm struggling with getting a dynamic inventory working with Netbox - works great via cli but don't know how to implement it in AWX 21.12.0. Assume I need to supply a custom script when creating the inventory but there's no option to do so. Any reference to websites or videos appreciated.

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

    Can Kustomize be used to enable additional collections during build? Many thanks.

  • @JamesLee-qs1cz
    @JamesLee-qs1cz 2 года назад +1

    Thanks Calvin! This was much easier than the documentation that was provided in the awx-operator github! What is the best way to present projects to the awx pod? Manual jobs are said to be placed in /var/lib/awx/projects but that folder doesn't exist (I guess because it's running in the pod?).

    • @earlanthonysilvania5551
      @earlanthonysilvania5551 2 года назад

      Good day Sir, were you able to resolve this issue?

    • @sabilsanad2432
      @sabilsanad2432 2 года назад

      This is a very very great video, many thanks to you Calvin

    • @CalvinRemsburg0
      @CalvinRemsburg0  2 года назад

      Hello James, without a doubt the best approach to getting projects within Ansible AWX is to store them on an external service like GitHub. Manual projects seem to be catered exclusively towards air-gapped environments. Let me know if you'd like an updated setup guide for getting up and running with AWX.

    • @JamesLee-qs1cz
      @JamesLee-qs1cz 2 года назад +3

      @@CalvinRemsburg0 I would love to have an updated setup guide. I don't have experience with Git, so in the interim I'll have to find videos to explain Git to make me understand the implementation better. Thank you!

    • @CalvinRemsburg0
      @CalvinRemsburg0  2 года назад

      You've got it, I hope to publish the setup guide this week.

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

    Hey Calvin, Thanks for video... could you please help me understand about AWX... is it for Development/testing purpose for kubernetes because there's no Cluster for it and if its for Production too then how scalability and HA works with this

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

    Hi Calvin. Thank you for the video good tutorial. I am trying to install on OEL9 and facing issue not able pass your last step.
    awx awx-operator-controller-manager-7b4dbff7c8-g82sh 2/2 Running 1 (2d8h ago) 6d23h

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

    Are you going to go over creating Execution Environments? that is the part i am stuck at the moment lol. Great Video.

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

    Hi Calvin ,great job.Can I connect local git repo ( not lab or hub)in Awx Project , I have been trying so with no luck ,thanks

  • @askeejlertsen7601
    @askeejlertsen7601 2 года назад

    Great video, have just setup a similar setup at work and i am very new to k3s. We are planning to use Git for our playbooks so that is fine but we also want to be able to pin-point where the configuration and all things required are placed on the server for backup and recovery purposes. Where are all the different things placed? It is difficult to find reading through the logs and the different yaml-files.

    • @CalvinRemsburg0
      @CalvinRemsburg0  2 года назад +1

      Hello Aske, I highly encourage you to take a look at Lens, it’s a free IDE to managing kubernetes environments. It’ll make it easier to find AWX configuration files, secrets and logs. Ansible AWX also ships with a “backup/restore” utility that may be worth looking at, I haven’t used it myself but it looks like it should work. Next video published will be a deeper dive on setting up AWX, so I may have time to include backup/restore in there.

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

    Any chance you could create a video of upgrading AWX in this same infrastructure?

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

    Hello my friend, greaaat video !!!. When I restart the machine, for some reason the web service pod throws a status "CrashLoopBackOff", do you have some idea how to resolve this ?. Thnk u

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

    Great content

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

    Does anyone know the command to view the logs, I couldn't find it on github?

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

    Does anyone know how to install an SSL certificate into this AWX installation?

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

    I cant get it work. It always create an error:
    awx-operator-controller-manager-74889d49c8-ffb74 2/2 Running 1 (19m ago) 26m
    awx-postgres-13-0 1/1 Running 0 8m16s
    awx-task-74bd57db54-vqb2d 0/4 Init:CrashLoopBackOff 6 (2m10s ago) 7m58s
    awx-web-66545954cd-b68pv 1/3 CrashLoopBackOff 12 (4s ago) 5m56s
    I tried it as root user, I tried it as user with sudo, with debain, with ubuntu it will not start. Everytime same error as proxmox vm

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

      I figured it out, it is the emu from proxmox hast. set the cpu type to 'host' it will start. Error weas found here '
      Fatal glibc error: CPU does not support x86-64-v2' default at proxmox it is the type kvm64....

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

    Iam getting error on kubectl get nodes

  • @2acsharp
    @2acsharp Год назад

    Hello Calvin. Thank you for the video. I am running int an issue with crashloopbackoff. Any suggestions would be appreciated.
    NAME READY STATUS RESTARTS AGE
    awx-operator-controller-manager-fcf6db67c-g2n9w 2/2 Running 0 76m
    awx-postgres-13-0 1/1 Running 0 75m
    awx-867b85f5f6-ggs7x 2/4 CrashLoopBackOff 38 (96s ago) 74m

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

      I ran into this as well. I'm running proxmox and had a glibc error in the logs that lead me to try changing the CPU type to "host" on the VM which resolved the issue for me.
      kubectl -n awx logs -f deployment/awx -c awx-task
      Fatal glibc error: CPU does not support x86-64-v2

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

      @@pmichaeljordan Man I was stuck and now kicking myself for not reading these comments earlier....Thanks!!!

    • @dieAlmbergStürmer
      @dieAlmbergStürmer Год назад +1

      @@pmichaeljordan you saved my day. i wasted approx 12 hours searching for a solution for the same error. your trick did it. thanks a lot man

  • @MarieMitchell-c7p
    @MarieMitchell-c7p 9 дней назад

    Hernandez Maria Lopez Angela Brown Frank

  • @CynthiaJimenez-u7s
    @CynthiaJimenez-u7s 9 дней назад

    Harris Daniel Clark Eric Martinez Anthony

  • @MasonMant-b9z
    @MasonMant-b9z 8 часов назад

    Hall Michelle Lopez Kenneth Brown Donna

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

    Ansible AWX 22.7 / Tower End to end video in 21 minutes ruclips.net/video/jr5qLyWAQJg/видео.htmlsi=1MqikuIpsMvzi63a

  • @guerenameydan
    @guerenameydan День назад

    Wilson Cynthia Rodriguez Donald Brown Gary

  • @jsksiraybjgzvjieqp-u6d
    @jsksiraybjgzvjieqp-u6d 5 дней назад

    Johnson Jose Anderson Maria Taylor Amy

  • @SenehaKhatun-r2q
    @SenehaKhatun-r2q 9 дней назад

    Lewis Carol Lee Maria Anderson Nancy

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

    why get overly complex with your SSH Client? Why not just use Putty...?

  • @MayedaMoni
    @MayedaMoni День назад

    Johnson Betty Garcia Michael Thomas Donald

  • @JakirHossene-j4f
    @JakirHossene-j4f День назад

    Robinson Robert Young Thomas Young Deborah

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

    If at the last step when receiving the admin password you got an error: "Error from server (NotFound): secrets "awx-admin-password" not found", use comand:"kubectl get secret -n awx awx-admin-password -o jsonpath="{.data.password}" | base64 --decode ; echo..."

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

    Up and running but just can't get the password out - Is this the command?
    kubectl get secret awx-admin-password -o jsonpath="{.data.password}" --namespace awx | base64 --decode

  • @unstoppable-ar3292
    @unstoppable-ar3292 Год назад

    Thank you alot, i got stuck in the awx.yaml file > i keep getting this error: Error: accumulating resources: accumulating resources from 'awx.yaml': MalformedYAMLError: yaml: line 1: did not find expected key in File: awx.yaml
    error: no objects passed to apply I have followed everything to the letter. any ideas why?

  • @ArmilaKerom
    @ArmilaKerom 3 дня назад

    Walker Shirley Walker Sharon Harris Ruth