Installing Ansible AWX

  Рет қаралды 34,646

Calvin Remsburg

Calvin Remsburg

Күн бұрын

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.

Пікірлер: 82
@abdullahimusa7417
@abdullahimusa7417 Жыл бұрын
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 Жыл бұрын
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!
@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.
@thomasw1800
@thomasw1800 Жыл бұрын
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.
@CalvinRemsburg0
@CalvinRemsburg0 Жыл бұрын
Glad it was helpful!
@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 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!
@AmazzzingZEUS
@AmazzzingZEUS Жыл бұрын
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
@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.
@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!
@johnpaglia8231
@johnpaglia8231 Жыл бұрын
Great video. Instructions are very clear and the result is a successful build. Thanks much Sir!
@cyberjohn44
@cyberjohn44 2 ай бұрын
Excellent video. This is better than using microk8s which is a snap container.
@ccnaram
@ccnaram 10 ай бұрын
Ignore my last comment, I missed to define the tag, it worked now. Thank you!
@earlanthonysilvania5551
@earlanthonysilvania5551 2 жыл бұрын
This is a great tutorial especially for a newbie like me.. Thank you
@ioidt
@ioidt Жыл бұрын
about mv , another option is to update the PATH var. Thank you for another super video.
@andrevisser8940
@andrevisser8940 11 ай бұрын
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.
@ChristopherGray-vq3fo
@ChristopherGray-vq3fo 3 ай бұрын
Thank you Calvin.
@ngilbert82
@ngilbert82 Жыл бұрын
Great video, Calvin. Thank you for giving this to the world.
@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 ?
@Lines-In-The-Sand1
@Lines-In-The-Sand1 Жыл бұрын
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.
@shitschiggles
@shitschiggles 8 ай бұрын
Post your LinkedIn mate
@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.
@Evaaaqz
@Evaaaqz 2 ай бұрын
very good tutorial
@virgiliovargas3052
@virgiliovargas3052 7 ай бұрын
Thank you, very informative!
@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
@cwispy4180
@cwispy4180 Жыл бұрын
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.
@otaskinful
@otaskinful Жыл бұрын
Excellent video! Appreciate it! I wonder if you could do another one with full Kubernetes cluster. Would be really appreciated it!
@MatthewGP
@MatthewGP 2 жыл бұрын
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 KZbin 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.
@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?
@mrzeeusa
@mrzeeusa Жыл бұрын
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
@gerrymaddock9234
@gerrymaddock9234 Жыл бұрын
ditto on alma 9
@johnsebastian4379
@johnsebastian4379 Жыл бұрын
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).
@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.
@Burzyk22
@Burzyk22 Жыл бұрын
Great content
@sabilsanad2432
@sabilsanad2432 Жыл бұрын
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?
@JamesLee-qs1cz
@JamesLee-qs1cz 2 жыл бұрын
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 жыл бұрын
@@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.
@radumamy2000
@radumamy2000 11 ай бұрын
Can Kustomize be used to enable additional collections during build? Many thanks.
@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
@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 жыл бұрын
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?
@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
@frankvargas4525
@frankvargas4525 Жыл бұрын
Are you going to go over creating Execution Environments? that is the part i am stuck at the moment lol. Great Video.
@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
@johnsebastian4379
@johnsebastian4379 Жыл бұрын
Does anyone know how to install an SSL certificate into this AWX installation?
@ericwilkins4945
@ericwilkins4945 Жыл бұрын
Does anyone know the command to view the logs, I couldn't find it on github?
@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
@CalvinRemsburg0
@CalvinRemsburg0 10 ай бұрын
could you share what the error is?
@MarieMitchell-c7p
@MarieMitchell-c7p 6 күн бұрын
Hernandez Maria Lopez Angela Brown Frank
@CynthiaJimenez-u7s
@CynthiaJimenez-u7s 6 күн бұрын
Harris Daniel Clark Eric Martinez Anthony
@cloudnixiass
@cloudnixiass 5 ай бұрын
Ansible AWX 22.7 / Tower End to end video in 21 minutes kzbin.info/www/bejne/oKOYon-vjKaEgMksi=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 Жыл бұрын
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 Жыл бұрын
@@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
@jsksiraybjgzvjieqp-u6d
@jsksiraybjgzvjieqp-u6d 2 күн бұрын
Johnson Jose Anderson Maria Taylor Amy
@SenehaKhatun-r2q
@SenehaKhatun-r2q 5 күн бұрын
Lewis Carol Lee Maria Anderson Nancy
@erchuero
@erchuero 11 ай бұрын
why get overly complex with your SSH Client? Why not just use Putty...?
@daadshaman2095
@daadshaman2095 Жыл бұрын
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
@daadshaman2095
@daadshaman2095 Жыл бұрын
What's wrong dude?
@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 16 сағат бұрын
Walker Shirley Walker Sharon Harris Ruth
This web UI for Ansible is so damn useful!
20:07
Christian Lempa
Рет қаралды 477 М.
Modus males sekolah
00:14
fitrop
Рет қаралды 11 МЛН
Never install locally
5:45
Coderized
Рет қаралды 1,8 МЛН
Why More People Dont Use Linux
18:51
ThePrimeTime
Рет қаралды 182 М.
Ansible Best Practices  Roles and Modules
1:04:24
Red Hat Ansible Automation
Рет қаралды 21 М.
Up and running with Ansible AWX / Tower
2:40:51
Calvin Remsburg
Рет қаралды 31 М.
Introduction to Ansible for Network Engineers
2:24:09
Calvin Remsburg
Рет қаралды 22 М.
Deploying AWX HA On Kubernetes
15:59
Open Source Ops
Рет қаралды 12 М.
Getting started with AWX / Ansible Tower / Automation Controller
1:43:09
Introduction to AWX
28:07
Open Source Ops
Рет қаралды 27 М.
How to install Ansible AWX Operator - Ansible Tower | on Kubernetes Lab
12:01
LondonIAC / Dennis McCarthy / Automation Engineer
Рет қаралды 20 М.
Homelab Series - Creating an AWX Server
12:35
sass drew
Рет қаралды 7 М.
Modus males sekolah
00:14
fitrop
Рет қаралды 11 МЛН