Sam's Zone
  • Home
  • About Me
Sign in Subscribe
ansible

AWX Password Reset / Unable to log in

  • Sameera Hewage

Sameera Hewage

Jun 7, 2021 • 1 min read
AWX Password Reset / Unable to log in

While deploying AWX for managing Ansible on top of docker-ce I faced a strange issue. Even though deployment completed successfully I was unable to log in. While troubleshooting, I found that my deployment has not created the admin user I defined for some kind of reason. So I created it manually with below commands.

docker exec -it awx_web bash

and after getting into container’s bash execute below command to create a new superuser

awx-manage createsuperuser --username admin

Alternatively, if you need to reset the password of any user for some reason you can use below one in the container. Replace {USER_NAME} with the desired username.

awx-manage changepassword admin
#OR
awx-manage changepassword {USER_NAME}

If you are looking to deploy AWX below is a well detailed guide.

https://www.techsupportpk.com/2020/03/how-to-install-ansible-awx-centos-rhel-7-8.html

Sign up for more like this.

Enter your email
Subscribe
Use PowerShell Script for Inventorying Computers on a Domain.

Use PowerShell Script for Inventorying Computers on a Domain.

This PowerShell script is a useful tool for Small and Medium Businesses (SMBs) looking to inventory their computer hardware and monitor information without any hardware asset management tool such as PDQ deploy, ManageEngine EndPoint Central (previously Desktop Central) or SCCM. It utilizes the Windows Management Instrumentation (WMI) technology to remotely
Dec 19, 2022 4 min read
Installing and Configuring Rundeck

Installing and Configuring Rundeck

You’re either the one that creates the automation or you’re getting automated… Rundeck is open-source software that helps you automate and schedule routine operational procedures in your environment may that be On-Premisses or Cloud-based. Some Rundeck features * Scheduled or On-demand (Web GUI, CLI or API WebHooks) job execution
Jun 6, 2021 3 min read
Vmware Automation - PowerCli unable to Retrieve Tags

Vmware Automation - PowerCli unable to Retrieve Tags

Well, I’ve had an idea for a simple automation to restart some servers in a VMWare environment in my mind for a long time. Last week I decided to start it and give it a go no matter what. For the 1st step, started running some experiments with PowerCli
Jun 5, 2021 2 min read
Sam's Zone © 2023
Powered by Ghost