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.5k
    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.
    • travisdh1T
      travisdh1
      last edited by travisdh1

      Reserved for update process

      1 Reply Last reply Reply Quote 1
      • Emad RE
        Emad R @travisdh1
        last edited by

        @travisdh1

        +++

        Many thanks for this I never heard of this project, glad finally we have UI for either SS or Ansible

        1 1 Reply Last reply Reply Quote 1
        • 1
          1337 @Emad R
          last edited by 1337

          @Emad-R said in Install AWX on CentOS 7 with Docker:

          @travisdh1

          +++

          Many thanks for this I never heard of this project, glad finally we have UI for either SS or Ansible

          The AWX project is upstream project for Red Hat's Ansible Tower.

          https://www.ansible.com/products/awx-project/faq

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

            @Pete-S said in Install AWX on CentOS 7 with Docker:

            @Emad-R said in Install AWX on CentOS 7 with Docker:

            @travisdh1

            +++

            Many thanks for this I never heard of this project, glad finally we have UI for either SS or Ansible

            The AWX project is upstream project for Red Hat's Ansible Tower.

            https://www.ansible.com/products/awx-project/faq

            Also has lots of Ansible playbooks available at https://galaxy.ansible.com/ to do all the things.

            1 Reply Last reply Reply Quote 1
            • F
              faudel
              last edited by scottalanmiller

              Hi Travisdh,

              Great article, i installed awx without a docker following this guide. [Moderated to remove promotional link.]

              RojoLocoR 1 Reply Last reply Reply Quote -4
              • RojoLocoR
                RojoLoco @faudel
                last edited by scottalanmiller

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

                Hi Travisdh,

                Great article, i installed awx without a docker following this guide. Take a look at this link [Moderated to remove promotional link.]

                ^^^ Kinda suspect, because:

                This blog accepts forms of cash advertising, sponsorship, paid insertions or other forms of compensation. Aside from that we also make money from affiliate links.

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

                  Be careful with AWX. I would not use it in production. There are still breaking database changes between versions. There is a migration tool but still. Last time I used it, there were breaking changes from week to week. I've found Jenkins to be more flexible anyway.

                  1 Reply Last reply Reply Quote 2
                  • 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
                                            • 1
                                            • 2
                                            • 1 / 2
                                            • First post
                                              Last post