M_Ghaleb
(M Ghaleb)
1
Dear All,
I’ve installed AWX on K8s and I can see a Pod called awx-0 with 4 containers in it:
- awx_web
- awx_task
- awx_rabbitmq
- memcached
on which one should I install Tower-Cli? do you have a link for a step by step on how to install it?
Thank you and best regards
MoSa
RC1
(RC)
2
Hi MoSa,
Have tried this on RHEL and the steps are as follows-
Here are the steps to configure tower-cli on redhat(AWX via docker)
- Set host information in /etc/hosts file
[root@awxuser etc]# cat /etc/hosts
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
172.30.64.201 awxuser.example.com awxuser (IP of awx server)
- Install tower-cli:
pip install tower-cli
- Make below changes into ~/.tower_cli.cfg foe the following fields
username
password
host
verify_ssl
[Example:
username: admin
password: password
host: http://awxuser.example.com
verify_ssl: False]
- Command to show the details of all user
#tower-cli user list (Show the details of all user)
Reference Link:
https://docs.ansible.com/ansible-tower/latest/html/towerapi/tower_cli.html
Please let us know if the same works in your kubernets environment.
Regards
matburt
(Matthew Jones)
3
Tower cli is a local tool… install it and point it at your server. awx_web is what runs the web services.
M_Ghaleb
(M Ghaleb)
4
Dear RC,
many thanks!!!
This is exactly what I was looking for!
I’ll test and let you know the outcome
Mo