Installing Ansible AWX

Поділитися
Вставка
  • Опубліковано 21 сер 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.

КОМЕНТАРІ • 77

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

  • @hoptop77
    @hoptop77 2 місяці тому

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

  • @jeremymuniak4897
    @jeremymuniak4897 3 місяці тому

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

  • @jakedaw2538
    @jakedaw2538 4 місяці тому

    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!

  • @rhigmus
    @rhigmus 7 місяців тому

    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.

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

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

  • @andrevisser8940
    @andrevisser8940 11 місяців тому

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

  • @michelangelop3923
    @michelangelop3923 Рік тому

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

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

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

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

  • @ngilbert82
    @ngilbert82 Рік тому

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

  • @earlanthonysilvania5551
    @earlanthonysilvania5551 Рік тому +1

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

  • @cyberjohn44
    @cyberjohn44 Місяць тому

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

  • @ioidt
    @ioidt Рік тому

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

  • @ccnaram
    @ccnaram 9 місяців тому +1

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

  • @ChristopherGray-vq3fo
    @ChristopherGray-vq3fo 3 місяці тому

    Thank you Calvin.

  • @Evaaaqz
    @Evaaaqz Місяць тому

    very good tutorial

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

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

  • @virgiliovargas3052
    @virgiliovargas3052 7 місяців тому

    Thank you, very informative!

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

  • @MatthewGP
    @MatthewGP Рік тому +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 UA-cam about page, the Twitter and Blog link don't work.

    • @CalvinRemsburg0
      @CalvinRemsburg0  Рік тому

      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.

  • @otaskinful
    @otaskinful Рік тому

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

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

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

  • @Burzyk22
    @Burzyk22 Рік тому

    Great content

  • @sabilsanad2432
    @sabilsanad2432 Рік тому +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?

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

  • @JamesLee-qs1cz
    @JamesLee-qs1cz Рік тому +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 Рік тому

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

    • @sabilsanad2432
      @sabilsanad2432 Рік тому

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

    • @CalvinRemsburg0
      @CalvinRemsburg0  Рік тому

      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 Рік тому +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  Рік тому

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

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

  • @frankvargas4525
    @frankvargas4525 Рік тому

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

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

  • @MrThrash90
    @MrThrash90 8 місяців тому

    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?

  • @askeejlertsen7601
    @askeejlertsen7601 Рік тому

    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  Рік тому +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.

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

  • @fasalmuhammed8417
    @fasalmuhammed8417 Рік тому

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

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

  • @radumamy2000
    @radumamy2000 10 місяців тому

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

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

  • @elcanalxd8717
    @elcanalxd8717 3 місяці тому

    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

  • @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 10 місяців тому

    Iam getting error on kubectl get nodes

  • @cloudnixiass
    @cloudnixiass 5 місяців тому

    Ansible AWX 22.7 / Tower End to end video in 21 minutes ua-cam.com/video/jr5qLyWAQJg/v-deo.htmlsi=1MqikuIpsMvzi63a

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

  • @erchuero
    @erchuero 10 місяців тому

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

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

  • @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..."

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