diff options
author | Matthew Jones <bsdmatburt@gmail.com> | 2017-09-08 02:23:42 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-09-08 02:23:42 +0200 |
commit | 534fefd82f1551fd0ccf2f3b80b21af3088e9196 (patch) | |
tree | 3d94dcf27262e3e756dc7747f4045f5c78013717 /installer | |
parent | Merge pull request #39 from puiterwijk/fix-nameid (diff) | |
parent | Whitespace cleanup for installer. (diff) | |
download | awx-534fefd82f1551fd0ccf2f3b80b21af3088e9196.tar.xz awx-534fefd82f1551fd0ccf2f3b80b21af3088e9196.zip |
Merge pull request #42 from geerlingguy/installer-whitespace-cleanup
Whitespace cleanup for installer.
Diffstat (limited to 'installer')
-rw-r--r-- | installer/check_vars/tasks/check_docker.yml | 3 | ||||
-rw-r--r-- | installer/check_vars/tasks/check_openshift.yml | 16 | ||||
-rw-r--r-- | installer/check_vars/tasks/main.yml | 6 | ||||
-rw-r--r-- | installer/image_build/files/nginx.conf | 1 | ||||
-rw-r--r-- | installer/image_build/tasks/main.yml | 3 | ||||
-rw-r--r-- | installer/inventory | 2 | ||||
-rw-r--r-- | installer/openshift/templates/configmap.yml.j2 | 6 |
7 files changed, 16 insertions, 21 deletions
diff --git a/installer/check_vars/tasks/check_docker.yml b/installer/check_vars/tasks/check_docker.yml index 98407e117e..feb778e66d 100644 --- a/installer/check_vars/tasks/check_docker.yml +++ b/installer/check_vars/tasks/check_docker.yml @@ -1,5 +1,5 @@ # check_docker.yml ---- +--- - name: postgres_data_dir should be defined assert: that: @@ -12,4 +12,3 @@ that: - host_port is defined and host_port != '' msg: "Set the value of 'host_port' in the inventory file." - diff --git a/installer/check_vars/tasks/check_openshift.yml b/installer/check_vars/tasks/check_openshift.yml index 53164b629c..ccb0a6681b 100644 --- a/installer/check_vars/tasks/check_openshift.yml +++ b/installer/check_vars/tasks/check_openshift.yml @@ -1,48 +1,48 @@ # check_openshift.yml --- -- name: awx_openshift_project should be defined +- name: awx_openshift_project should be defined assert: that: - awx_openshift_project is defined and awx_openshift_project != '' msg: "Set the value of 'awx_openshift_project' in the inventory file." -- name: openshift_user should be defined +- name: openshift_user should be defined assert: that: - openshift_user is defined and openshift_user != '' msg: "Set the value of 'openshift_user' in the inventory file." -- name: openshift_password should be defined +- name: openshift_password should be defined assert: that: - openshift_password is defined and openshift_password != '' msg: "Set the value of 'openshift_password' in the inventory file." -- name: awx_node_port should be defined +- name: awx_node_port should be defined assert: that: - awx_node_port is defined and awx_node_port != '' msg: "Set the value of 'awx_node_port' in the inventory file." -- name: docker_registry should be defined +- name: docker_registry should be defined assert: that: - docker_registry is defined and docker_registry != '' msg: "Set the value of 'docker_registry' in the inventory file." -- name: docker_registry_repository should be defined +- name: docker_registry_repository should be defined assert: that: - docker_registry_repository is defined and docker_registry_repository != '' msg: "Set the value of 'docker_registry_repository' in the inventory file." -- name: docker_registry_username should be defined +- name: docker_registry_username should be defined assert: that: - docker_registry_username is defined and docker_registry_username != '' msg: "Set the value of 'docker_registry_username' in the inventory file." -- name: docker_registry_password should be defined +- name: docker_registry_password should be defined assert: that: - docker_registry_password is defined and docker_registry_password != '' diff --git a/installer/check_vars/tasks/main.yml b/installer/check_vars/tasks/main.yml index 151144d91f..bed592a99b 100644 --- a/installer/check_vars/tasks/main.yml +++ b/installer/check_vars/tasks/main.yml @@ -1,9 +1,7 @@ # main.yml --- - -- include: check_openshift.yml +- include: check_openshift.yml when: openshift_host is defined and openshift_host != '' -- include: check_docker.yml +- include: check_docker.yml when: openshift_host is not defined or openshift_host == '' - diff --git a/installer/image_build/files/nginx.conf b/installer/image_build/files/nginx.conf index f96b4a9316..9d547f17f5 100644 --- a/installer/image_build/files/nginx.conf +++ b/installer/image_build/files/nginx.conf @@ -28,7 +28,6 @@ http { #tcp_nopush on; #gzip on; - upstream uwsgi { server localhost:8050; } diff --git a/installer/image_build/tasks/main.yml b/installer/image_build/tasks/main.yml index 9bc38a687c..45a9879623 100644 --- a/installer/image_build/tasks/main.yml +++ b/installer/image_build/tasks/main.yml @@ -1,5 +1,4 @@ --- - - name: Get Version from checkout if not provided shell: "git describe --long | sed 's/\\-g.*//' | sed 's/\\-/\\./'" delegate_to: localhost @@ -157,7 +156,7 @@ tag: "{{ awx_version }}" pull: no delegate_to: localhost - + - name: Clean docker base directory file: path: "{{ docker_base_path }}" diff --git a/installer/inventory b/installer/inventory index 3bb60161f9..56ee0c8548 100644 --- a/installer/inventory +++ b/installer/inventory @@ -26,7 +26,7 @@ host_port=80 # docker_registry_repository=awx # docker_registry_username=developer -# Set pg_hostname if you have an external postgres server, otherwise +# Set pg_hostname if you have an external postgres server, otherwise # a new ephemeral postgres service will be created # pg_hostname=postgresql pg_username=awx diff --git a/installer/openshift/templates/configmap.yml.j2 b/installer/openshift/templates/configmap.yml.j2 index 0ef1fd3008..40d006401e 100644 --- a/installer/openshift/templates/configmap.yml.j2 +++ b/installer/openshift/templates/configmap.yml.j2 @@ -9,7 +9,7 @@ data: import os import socket ADMINS = () - + # Container environments don't like chroots AWX_PROOT_ENABLED = False @@ -35,13 +35,13 @@ data: EMAIL_HOST_USER = '' EMAIL_HOST_PASSWORD = '' EMAIL_USE_TLS = False - + LOGGING['handlers']['console'] = { '()': 'logging.StreamHandler', 'level': 'DEBUG', 'formatter': 'simple', } - + LOGGING['loggers']['django.request']['handlers'] = ['console'] LOGGING['loggers']['rest_framework.request']['handlers'] = ['console'] LOGGING['loggers']['awx']['handlers'] = ['console'] |