Hi everyone,
I am trying to run ./setup.sh using only remote host but I am getting this error:
TASK [config_dynamic : Ensure user is root] **************************************************************************************************************************************
fatal: [10.192.1.196]: FAILED! => {"changed": false, "msg": "UID on remote machine is 1000 (0 required). Check Ansible connection and become settings."}
Please find below the inventory file that I am using. I am using the root user of this machine to connect and also when ansible tries to connect to my host, everything is OK.
TASK [config_dynamic : Ensure connectivity to hosts and gather facts] ************************************************************************************************************
ok: [10.192.1.196]
-------------------------------------------------------------------------------------------------------------------------------------------
[tower]
10.192.1.196 ansible_connection=ssh ansible_ssh_user=javier ansible_ssh_password=password
[database]
10.192.1.196
[all:vars]
admin_password='password'
pg_host='10.192.1.196'
pg_port='5432'
pg_database='awx'
pg_username='awx'
pg_password='password'
rabbitmq_port=5672
rabbitmq_vhost=tower
rabbitmq_username=tower
rabbitmq_password='password'
rabbitmq_cookie=rabbitmqcookie
# Needs to be true for fqdns and ip addresses
rabbitmq_use_long_name=true
# Needs to remain false if you are using localhost
----------------------------------------------------------------------------------------------------------------------------------
Any help will be appreciated.
Spyridoula