Uploaded image for project: 'Ansible Automation Platform RFEs'
  1. Ansible Automation Platform RFEs
  2. AAPRFE-16

Customize template vars from nginx/tower inside the installer

XMLWordPrintable

    • False
    • Hide

      None

      Show
      None
    • False

      Due to the following issue we need to perform some changes on tower/nginx configuration:

      > https://access.redhat.com/solutions/5281311

      1. #  vim   /etc/supervisord.d/tower.ini
      2. Find the [program:awx-uwsgi] section
      3. Modify the value of --harakiri from --harakiri=120 to --harakiri=(some larger integer) .
      4. # vim  /etc/nginx/nginx.conf
      5. Find the uwsgi_read_timeout parameter .
      6. Modify the uwsgi_read_timeout from uwsgi_read_timeout 120s; to uwsgi_read_timeout (some larger value);
      7. Restart Ansible Tower service using # ansible-tower-service restart

      But that will be overwritten after performing an upgrade.

      This RFE is for enabling custom modification on the nginx/tower templates in the inventory side. Current those below are the templates responsible for that:

      /roles/supervisor/templates/tower.conf.j2
      /roles/nginx/templates/nginx.conf

              simaishi@redhat.com Satoe Imaishi
              rhn-support-brsanche Bruno Sanchez
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: