ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Install AWX on CentOS 7 with Docker

    IT Discussion
    awx ansible docker centos7
    7
    25
    8.4k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • wirestyle22W
      wirestyle22
      last edited by wirestyle22

      basic nginx config works and you can just run certbot for SSL

      server {
      	listen 80;
      	server_name test.domain.com;
      	location / {
      	proxy_pass http://192.168.1.x;
      	proxy_buffering off;
      	}
      }
      
      1 Reply Last reply Reply Quote 0
      • wirestyle22W
        wirestyle22
        last edited by wirestyle22

        I attempted to login with admin/password and it is telling me it's the wrong username/password. The documentation says:

        awx-manage changepassword admin

        -bash: awx-manage : command not found
        

        I am in /opt/awx

        hm.

        travisdh1T 1 Reply Last reply Reply Quote 0
        • travisdh1T
          travisdh1 @wirestyle22
          last edited by

          @wirestyle22 awx-manage might be in /opt/awx/bin, /opt/awx/sbin, or something like that. Here I thought the default username/password wouldn't get broken in their code updates. Like @stacksofplates said, AWX looks nice, but the devs are breaking it so often that it isn't something I'd consider production ready. I tried running through this a 3rd time, did everything the same, and it didn't work last night 😞

          wirestyle22W 2 Replies Last reply Reply Quote 0
          • wirestyle22W
            wirestyle22 @travisdh1
            last edited by

            @travisdh1

            awx.png

            Yeah I am just testing at home

            travisdh1T 1 Reply Last reply Reply Quote 1
            • wirestyle22W
              wirestyle22 @travisdh1
              last edited by

              @travisdh1 seems like I should be able to change the admin password via cli, but it's not recognizing the command. @stacksofplates any ideas?

              1 Reply Last reply Reply Quote 0
              • travisdh1T
                travisdh1 @wirestyle22
                last edited by

                @wirestyle22 said in Install AWX on CentOS 7 with Docker:

                @travisdh1

                awx.png

                Yeah I am just testing at home

                It's really sad that they are treating AWX this way. Basically means that Ansible/Tower is out of the question because they can't keep a stable code base.

                wirestyle22W stacksofplatesS 2 Replies Last reply Reply Quote 0
                • wirestyle22W
                  wirestyle22 @travisdh1
                  last edited by wirestyle22

                  @travisdh1 I have to imagine that there is a way for me to change a user's password via cli that doesn't use awx-manage, if not then what is the reason that I am unable to use it? Not familiar with it enough to know though. Haven't found anything online yet.

                  travisdh1T 1 Reply Last reply Reply Quote 0
                  • travisdh1T
                    travisdh1 @wirestyle22
                    last edited by

                    @wirestyle22 said in Install AWX on CentOS 7 with Docker:

                    @travisdh1 I have to imagine that there is a way for me to change a user's password via cli that doesn't use awx-manage, if not then what is the reason that I am unable to use it? Not familiar with it enough to know though. Haven't found anything online yet.

                    Obviously I've not had to use awx-manage yet myself. Did you do a sudo find / -name "awx-manage"?

                    wirestyle22W 1 Reply Last reply Reply Quote 0
                    • wirestyle22W
                      wirestyle22 @travisdh1
                      last edited by

                      @travisdh1 went to http://192.168.1.x/api/v1/config/ to try the basic auth prompt. Same issue.

                      travisdh1T 1 Reply Last reply Reply Quote 0
                      • travisdh1T
                        travisdh1 @wirestyle22
                        last edited by

                        @wirestyle22 said in Install AWX on CentOS 7 with Docker:

                        @travisdh1 went to http://192.168.1.x/api/v1/config/ to try the basic auth prompt. Same issue.

                        I won't have access to mine till I get home tonight. Poke me latter and I'll see if I can find awx-manage.

                        wirestyle22W 1 Reply Last reply Reply Quote 0
                        • wirestyle22W
                          wirestyle22 @travisdh1
                          last edited by wirestyle22

                          @travisdh1 said in Install AWX on CentOS 7 with Docker:

                          @wirestyle22 said in Install AWX on CentOS 7 with Docker:

                          @travisdh1 went to http://192.168.1.x/api/v1/config/ to try the basic auth prompt. Same issue.

                          I won't have access to mine till I get home tonight. Poke me latter and I'll see if I can find awx-manage.

                          I found it. It's in /opt/awx/tools/docker-compose

                          command still errors.

                          travisdh1T 1 Reply Last reply Reply Quote 0
                          • travisdh1T
                            travisdh1 @wirestyle22
                            last edited by

                            @wirestyle22 said in Install AWX on CentOS 7 with Docker:

                            @travisdh1 said in Install AWX on CentOS 7 with Docker:

                            @wirestyle22 said in Install AWX on CentOS 7 with Docker:

                            @travisdh1 went to http://192.168.1.x/api/v1/config/ to try the basic auth prompt. Same issue.

                            I won't have access to mine till I get home tonight. Poke me latter and I'll see if I can find awx-manage.

                            I found it. It's in /opt/awx/tools/docker-compose

                            command still errors.

                            Seems to be the standard operating mode for AWX. It's broke, they nay or may not get the broken bits fixed in the next release.

                            wirestyle22W 2 Replies Last reply Reply Quote 0
                            • wirestyle22W
                              wirestyle22 @travisdh1
                              last edited by

                              @travisdh1 said in Install AWX on CentOS 7 with Docker:

                              @wirestyle22 said in Install AWX on CentOS 7 with Docker:

                              @travisdh1 said in Install AWX on CentOS 7 with Docker:

                              @wirestyle22 said in Install AWX on CentOS 7 with Docker:

                              @travisdh1 went to http://192.168.1.x/api/v1/config/ to try the basic auth prompt. Same issue.

                              I won't have access to mine till I get home tonight. Poke me latter and I'll see if I can find awx-manage.

                              I found it. It's in /opt/awx/tools/docker-compose

                              command still errors.

                              Seems to be the standard operating mode for AWX. It's broke, they nay or may not get the broken bits fixed in the next release.

                              bleh

                              1 Reply Last reply Reply Quote 0
                              • wirestyle22W
                                wirestyle22 @travisdh1
                                last edited by wirestyle22

                                @travisdh1 Got it working.

                                inventory file in /opt/awx/installer has this line:

                                #This will create or update a default admin (superuser) account in AWX, if not provided
                                #then these default values are used
                                admin_user=admin
                                admin_password=password

                                I changed the password and re-ran install.yml. It applied the new password.

                                1 Reply Last reply Reply Quote 1
                                • stacksofplatesS
                                  stacksofplates @travisdh1
                                  last edited by

                                  @travisdh1 said in Install AWX on CentOS 7 with Docker:

                                  @wirestyle22 said in Install AWX on CentOS 7 with Docker:

                                  @travisdh1

                                  awx.png

                                  Yeah I am just testing at home

                                  It's really sad that they are treating AWX this way. Basically means that Ansible/Tower is out of the question because they can't keep a stable code base.

                                  Tower is really stable. AWX is a bad upstream. I used Tower for a couple years and it's rock solid.

                                  1 Reply Last reply Reply Quote 0
                                  • stacksofplatesS
                                    stacksofplates
                                    last edited by

                                    Another thing to note. I believe it's the rabbitmq password that can't accept an @ in the password.

                                    1 Reply Last reply Reply Quote 0
                                    • 1
                                    • 2
                                    • 1 / 2
                                    • First post
                                      Last post