-
Notifications
You must be signed in to change notification settings - Fork 896
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add awx as an embedded ansible plugin #16205
Add awx as an embedded ansible plugin #16205
Commits on Dec 6, 2017
-
Configuration menu - View commit details
-
Copy full SHA for a754fa8 - Browse repository at this point
Copy the full SHA a754fa8View commit details -
Refactor generating the ansible secret key into a method
This will make it easier to move this method into a shared location
Configuration menu - View commit details
-
Copy full SHA for fbc3d3d - Browse repository at this point
Copy the full SHA fbc3d3dView commit details -
Refactor password generation methods into shared find_or_create methods
This allows the "fetch from the database or generate and save" behavior to be shared across different embedded ansible platforms
Configuration menu - View commit details
-
Copy full SHA for 28b87db - Browse repository at this point
Copy the full SHA 28b87dbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3d740c4 - Browse repository at this point
Copy the full SHA 3d740c4View commit details -
Configuration menu - View commit details
-
Copy full SHA for e194cca - Browse repository at this point
Copy the full SHA e194ccaView commit details -
This will run the containers which make up AWX (https://github.com/ansible/awx) and configure our app to use that for the embedded ansible feature. This class uses the docker-api gem to communicate with the locally running docker daemon to pull and launch the containers. We use port 54321 as the host port so that this can be used seamlessly in place of ApplianceEmbeddedAnsible when ansible tower is not installed locally
Configuration menu - View commit details
-
Copy full SHA for e3caa6c - Browse repository at this point
Copy the full SHA e3caa6cView commit details -
Don't try to use "localhost" for the database host
When we have "localhost" in our database configuration, we have to change that to the local machine's IP on the docker NIC
Configuration menu - View commit details
-
Copy full SHA for 6b22cb9 - Browse repository at this point
Copy the full SHA 6b22cb9View commit details -
Add some specs for DockerEmbeddedAnsible
This also adds stubs for all of the subclass availability in each of the specs to avoid sporadic test failures depending on the order the subclasses are evaluated for availability.
Configuration menu - View commit details
-
Copy full SHA for 481bf42 - Browse repository at this point
Copy the full SHA 481bf42View commit details -
Add priority to the EmbeddedAnsible subclasses
This sorts the subclasses and instantiates the first available one
Configuration menu - View commit details
-
Copy full SHA for e72b52e - Browse repository at this point
Copy the full SHA e72b52eView commit details -
Rescue JSON::ParserError in DockerEmbeddedAnsible.alive?
This error will be raised when the containers are just started. Every API end point during the initial migration will return an html page rather than a json payload. This accounts for that specific situation by assuming if we don't get a valid json response the service is not ready to serve requests
Configuration menu - View commit details
-
Copy full SHA for 19c8f63 - Browse repository at this point
Copy the full SHA 19c8f63View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1ed4128 - Browse repository at this point
Copy the full SHA 1ed4128View commit details -
Add hack to get EmbeddedAnsible provider working on dev machines
This really just assumes that a dev environment isn't multi-appliance and isn't fronted by our httpd configuration. This means that we always go to localhost, use http over https and hardcode the port and path.
Configuration menu - View commit details
-
Copy full SHA for b015723 - Browse repository at this point
Copy the full SHA b015723View commit details