-
-
Save mkesper/77e52c5d2a28aa9f4f64818a6fd9c9a7 to your computer and use it in GitHub Desktop.
AWX installation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ansible-playbook -i inventory install.yml -e "postgres_data_dir=/var/lib/pgdocker" | |
PLAY [Build and deploy AWX] ************************************************************************************** | |
TASK [Gathering Facts] ******************************************************************************************* | |
ok: [localhost] | |
TASK [check_vars : include_tasks] ******************************************************************************** | |
skipping: [localhost] | |
TASK [check_vars : include_tasks] ******************************************************************************** | |
included: /root/awx/installer/roles/check_vars/tasks/check_docker.yml for localhost | |
TASK [check_vars : postgres_data_dir should be defined] ********************************************************** | |
ok: [localhost] => { | |
"changed": false, | |
"msg": "All assertions passed" | |
} | |
TASK [check_vars : host_port should be defined] ****************************************************************** | |
ok: [localhost] => { | |
"changed": false, | |
"msg": "All assertions passed" | |
} | |
TASK [image_build : Set global version if not provided] ********************************************************** | |
skipping: [localhost] | |
TASK [image_build : Verify awx-logos directory exists for official install] ************************************** | |
skipping: [localhost] | |
TASK [image_build : Copy logos for inclusion in sdist] *********************************************************** | |
skipping: [localhost] | |
TASK [image_build : Set sdist file name] ************************************************************************* | |
skipping: [localhost] | |
TASK [image_build : AWX Distribution] **************************************************************************** | |
skipping: [localhost] | |
TASK [image_build : Stat distribution file] ********************************************************************** | |
skipping: [localhost] | |
TASK [image_build : Clean distribution] ************************************************************************** | |
skipping: [localhost] | |
TASK [image_build : Build sdist builder image] ******************************************************************* | |
skipping: [localhost] | |
TASK [image_build : Build AWX distribution using container] ****************************************************** | |
skipping: [localhost] | |
TASK [image_build : Build AWX distribution locally] ************************************************************** | |
skipping: [localhost] | |
TASK [image_build : Set docker build base path] ****************************************************************** | |
skipping: [localhost] | |
TASK [image_build : Set awx_web image name] ********************************************************************** | |
skipping: [localhost] | |
TASK [image_build : Set awx_task image name] ********************************************************************* | |
skipping: [localhost] | |
TASK [image_build : Ensure directory exists] ********************************************************************* | |
skipping: [localhost] | |
TASK [image_build : Stage sdist] ********************************************************************************* | |
skipping: [localhost] | |
TASK [image_build : Template web Dockerfile] ********************************************************************* | |
skipping: [localhost] | |
TASK [image_build : Template task Dockerfile] ******************************************************************** | |
skipping: [localhost] | |
TASK [image_build : Stage launch_awx] **************************************************************************** | |
skipping: [localhost] | |
TASK [image_build : Stage launch_awx_task] *********************************************************************** | |
skipping: [localhost] | |
TASK [image_build : Stage nginx.conf] **************************************************************************** | |
skipping: [localhost] | |
TASK [image_build : Stage supervisor.conf] *********************************************************************** | |
skipping: [localhost] | |
TASK [image_build : Stage supervisor_task.conf] ****************************************************************** | |
skipping: [localhost] | |
TASK [image_build : Stage settings.py] *************************************************************************** | |
skipping: [localhost] | |
TASK [image_build : Stage requirements] ************************************************************************** | |
skipping: [localhost] | |
TASK [image_build : Stage config watcher] ************************************************************************ | |
skipping: [localhost] | |
TASK [image_build : Stage Makefile] ****************************************************************************** | |
skipping: [localhost] | |
TASK [image_build : Stage ansible repo] ************************************************************************** | |
skipping: [localhost] | |
TASK [image_build : Stage ansible repo key] ********************************************************************** | |
skipping: [localhost] | |
TASK [image_build : Build base web image] ************************************************************************ | |
skipping: [localhost] | |
TASK [image_build : Build base task image] *********************************************************************** | |
skipping: [localhost] | |
TASK [image_build : Tag task and web images as latest] *********************************************************** | |
skipping: [localhost] | |
TASK [image_build : Clean docker base directory] ***************************************************************** | |
skipping: [localhost] | |
TASK [image_push : Authenticate with Docker registry if registry password given] ********************************* | |
skipping: [localhost] | |
TASK [image_push : Remove web image] ***************************************************************************** | |
skipping: [localhost] | |
TASK [image_push : Remove task image] **************************************************************************** | |
skipping: [localhost] | |
TASK [image_push : Tag and push web image to registry] *********************************************************** | |
skipping: [localhost] | |
TASK [image_push : Tag and push task image to registry] ********************************************************** | |
skipping: [localhost] | |
TASK [image_push : Set full image path for Registry] ************************************************************* | |
skipping: [localhost] | |
TASK [kubernetes : fail] ***************************************************************************************** | |
skipping: [localhost] | |
TASK [kubernetes : include_tasks] ******************************************************************************** | |
skipping: [localhost] => (item=openshift_auth.yml) | |
skipping: [localhost] => (item=openshift.yml) | |
TASK [kubernetes : include_tasks] ******************************************************************************** | |
skipping: [localhost] => (item=kubernetes_auth.yml) | |
skipping: [localhost] => (item=kubernetes.yml) | |
TASK [kubernetes : Use kubectl or oc] **************************************************************************** | |
skipping: [localhost] | |
TASK [kubernetes : set_fact] ************************************************************************************* | |
skipping: [localhost] | |
TASK [kubernetes : Record deployment size] *********************************************************************** | |
skipping: [localhost] | |
TASK [kubernetes : Set expected post-deployment Replicas value] ************************************************** | |
skipping: [localhost] | |
TASK [kubernetes : Delete existing Deployment] ******************************************************************* | |
skipping: [localhost] | |
TASK [kubernetes : Get Postgres Service Detail] ****************************************************************** | |
skipping: [localhost] | |
TASK [kubernetes : Template PostgreSQL Deployment (OpenShift)] *************************************************** | |
skipping: [localhost] | |
TASK [kubernetes : Deploy and Activate Postgres (OpenShift)] ***************************************************** | |
skipping: [localhost] | |
TASK [kubernetes : Template PostgreSQL Deployment (Kubernetes)] ************************************************** | |
skipping: [localhost] | |
TASK [kubernetes : Deploy and Activate Postgres (Kubernetes)] **************************************************** | |
skipping: [localhost] | |
TASK [kubernetes : Set postgresql hostname to helm package service (Kubernetes)] ********************************* | |
skipping: [localhost] | |
TASK [kubernetes : Wait for Postgres to activate] **************************************************************** | |
skipping: [localhost] | |
TASK [kubernetes : Set task image name] ************************************************************************** | |
skipping: [localhost] | |
TASK [kubernetes : Set web image name] *************************************************************************** | |
skipping: [localhost] | |
TASK [kubernetes : Render deployment templates] ****************************************************************** | |
skipping: [localhost] => (item=None) | |
skipping: [localhost] => (item=None) | |
skipping: [localhost] => (item=None) | |
skipping: [localhost] | |
TASK [kubernetes : Apply Deployment] ***************************************************************************** | |
skipping: [localhost] | |
TASK [kubernetes : Delete any existing management pod] *********************************************************** | |
skipping: [localhost] | |
TASK [kubernetes : Template management pod] ********************************************************************** | |
skipping: [localhost] | |
TASK [kubernetes : Create management pod] ************************************************************************ | |
skipping: [localhost] | |
TASK [kubernetes : Wait for management pod to start] ************************************************************* | |
skipping: [localhost] | |
TASK [kubernetes : Migrate database] ***************************************************************************** | |
skipping: [localhost] | |
TASK [kubernetes : Check for Tower Super users] ****************************************************************** | |
skipping: [localhost] | |
TASK [kubernetes : create django super user if it does not exist] ************************************************ | |
skipping: [localhost] | |
TASK [kubernetes : update django super user password] ************************************************************ | |
skipping: [localhost] | |
TASK [kubernetes : Create the default organization if it is needed.] ********************************************* | |
skipping: [localhost] | |
TASK [kubernetes : Delete management pod] ************************************************************************ | |
skipping: [localhost] | |
TASK [kubernetes : Scale up deployment] ************************************************************************** | |
skipping: [localhost] | |
TASK [local_docker : Check for existing Postgres data] *********************************************************** | |
ok: [localhost] | |
TASK [local_docker : Record Postgres version] ******************************************************************** | |
skipping: [localhost] | |
TASK [local_docker : Determine whether to upgrade postgres] ****************************************************** | |
ok: [localhost] | |
TASK [local_docker : Set up new postgres paths pre-upgrade] ****************************************************** | |
skipping: [localhost] => (item=/var/lib/pgdocker/10/data) | |
TASK [local_docker : Stop AWX before upgrading postgres] ********************************************************* | |
skipping: [localhost] | |
TASK [local_docker : Upgrade Postgres] *************************************************************************** | |
skipping: [localhost] | |
TASK [local_docker : Copy old pg_hba.conf] *********************************************************************** | |
skipping: [localhost] | |
TASK [local_docker : Remove old data directory] ****************************************************************** | |
ok: [localhost] | |
TASK [local_docker : Export Docker web image if it isnt local and there isnt a registry defined] ***************** | |
skipping: [localhost] | |
TASK [local_docker : Export Docker task image if it isnt local and there isnt a registry defined] **************** | |
skipping: [localhost] | |
TASK [local_docker : Set docker base path] *********************************************************************** | |
skipping: [localhost] | |
TASK [local_docker : Ensure directory exists] ******************************************************************** | |
skipping: [localhost] | |
TASK [local_docker : Copy web image to docker execution] ********************************************************* | |
skipping: [localhost] | |
TASK [local_docker : Copy task image to docker execution] ******************************************************** | |
skipping: [localhost] | |
TASK [local_docker : Load web image] ***************************************************************************** | |
skipping: [localhost] | |
TASK [local_docker : Load task image] **************************************************************************** | |
skipping: [localhost] | |
TASK [local_docker : Set full image path for local install] ****************************************************** | |
skipping: [localhost] | |
TASK [local_docker : Set DockerHub Image Paths] ****************************************************************** | |
ok: [localhost] | |
TASK [local_docker : Create ~/.awx/awxcompose directory] ********************************************************* | |
ok: [localhost] | |
TASK [local_docker : Create Docker Compose Configuration] ******************************************************** | |
ok: [localhost] => (item=environment.sh) | |
ok: [localhost] => (item=credentials.py) | |
ok: [localhost] => (item=docker-compose.yml) | |
TASK [local_docker : Render SECRET_KEY file] ********************************************************************* | |
ok: [localhost] | |
TASK [local_docker : Start the containers] *********************************************************************** | |
fatal: [localhost]: FAILED! => {"changed": false, "errors": [], "module_stderr": "Starting awx_web ... \r\nNo handlers could be found for logger \"compose.service\"\n\r\u001b[1B", "module_stdout": "", "msg": "Error starting project unknown cause"} | |
PLAY RECAP ******************************************************************************************************* | |
localhost : ok=11 changed=0 unreachable=0 failed=1 skipped=83 rescued=0 ignored=0 | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- hosts: localhost | |
become: true | |
vars: | |
nodejs_version: "10.x" | |
pip_install_packages: | |
- name: pip | |
- name: more_itertools==5 | |
- name: zipp==1 | |
- name: docker | |
- name: docker-compose | |
awx_version: "8.0.0" | |
awx_run_install_playbook: yes | |
roles: | |
- awx_dependencies | |
- geerlingguy.repo-epel | |
- geerlingguy.git | |
- geerlingguy.ansible | |
- geerlingguy.docker | |
- geerlingguy.pip | |
- geerlingguy.nodejs | |
- geerlingguy.awx |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment