Ansible Automation Platform installation failing task Install nginx.conf with error: could not build server_names_hash, you should increase server_names_hash_bucket_size

Solution Verified - Updated -

Issue

  • Installer is failing on task Install nginx.conf with following error:

    fatal: [some-really-long-hostname-which-is-really-long]: FAILED! => {"changed": false, "checksum": "de2c595e8934e0950931642bc9b746957dfef970", "exit_status": 1, "msg": "failed to validate", "stderr": "nginx: [emerg] could not build server_names_hash, you should increase server_names_hash_bucket_size: 64\nnginx: configuration file /root/.ansible/tmp/ansible-tmp-1723639920.9366229-371922-14145449522479/source test failed\n", "stderr_lines": ["nginx: [emerg] could not build server_names_hash, you should increase server_names_hash_bucket_size: 64", "nginx: configuration file /root/.ansible/tmp/ansible-tmp-1723639920.9366229-371922-14145449522479/source test failed"], "stdout": "", "stdout_lines": []}
    

Environment

  • Ansible Automation Platform 2.4

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content