Shane McDonald
fcf6b4ae45
Fix bug where init scripts didnt create the admin user correctly
2019-03-27 19:43:47 -04:00
Shane McDonald
c3ba851908
Fix docker-compose installs
...
In a series of unfortunate events, my patch yesterday didnt actually work. This fixes that.
2019-03-27 13:06:55 -04:00
Shane McDonald
c44bf6f903
Allow for platform specific variables in docker-compose install
...
This changes the default docker_compose_dir on macos to a writeable location
2019-03-27 09:32:04 -04:00
Shane McDonald
a6d031f46f
Fix permissions of sensitive files in docker-compose installation
2019-03-27 09:31:10 -04:00
Shane McDonald
2b6cf97157
Do not set credentials via environment variables
2019-03-26 15:13:28 -04:00
Shane McDonald
07e5a00f14
Remove “standalone Docker” installation path
...
This has been a burden to maintain. docker-compose is now required
2019-03-26 15:13:28 -04:00
walkafwalka
3a7bf6a8ac
Add SSL suport for docker install
...
Signed-off-by: walkafwalka <41709139+walkafwalka@users.noreply.github.com>
2019-02-27 10:45:34 +01:00
softwarefactory-project-zuul[bot]
a1cef744a7
Merge pull request #3230 from impca/patch-1
...
Update compose configuration
Reviewed-by: https://github.com/softwarefactory-project-zuul[bot]
2019-02-14 15:45:41 +00:00
impca
9add96a0d3
update docker compose installer
...
Only run commands to update certs when config changes.
2019-02-14 08:29:47 +01:00
impca
c29275315e
Update compose configuration
...
When running awx via docker-compose and using custom certificates (for LDAP auth or whatever else...), update-ca-trust has to be called afer starting the container to actually use new certificates (just as it is called when using docker to run - https://github.com/ansible/awx/blob/devel/installer/roles/local_docker/tasks/standalone.yml#L119-L120 ).
2019-02-13 15:39:52 +01:00
Mathieu Mallet
dce3795e0c
update-ca-trust: Ensure CA trust is updated in awx_task container
...
Related #3010
Both awx_web and awx_task containers can have a volume mounted in
specified by the ca_trust_dir variable. Unfortunately only the
awx_web container's trust is updated. This patch makes sure the
awx_task container's trust is updated as well
Testing Done: ansible-playbook --syntax-check installer/install.yml
Signed-off-by: Mathieu Mallet <mmallet@digipok.io>
2019-02-06 16:51:14 +00:00
Marius Rieder
072919040b
Omit DATABASE_SSLMODE if not set.
2019-01-22 17:24:44 +01:00
Marius Rieder
589531163a
Add pg_sslmode option.
...
Allows to use PostgreSQL over SSL #709
2019-01-21 19:47:34 +01:00
Hideki Saito
f16a72081a
Fixed issue where admin_user and password change are not reflected
...
- No effect of changing admin_user and admin_password when using docker-compose #2666
2018-11-13 18:21:18 +09:00
Daniel Temme
6ecd18b2e2
make volume concatenation work
...
The second list gets interpreted as part of the else block, effectively
dropping it. Separating both list definitions with braces seems to work.
# Conflicts:
# installer/roles/local_docker/tasks/standalone.yml
2018-10-25 17:54:10 -04:00
Daniel Temme
4e9c705997
Partial revert for "Bugfix for ca_trust_dir"
...
# Conflicts:
# installer/roles/local_docker/tasks/standalone.yml
# Conflicts:
# installer/roles/local_docker/tasks/standalone.yml
2018-10-25 17:53:12 -04:00
Igor Vuk
c133b35162
Update variable names for local Docker daemon installation
...
Signed-off-by: Igor Vuk <parcijala@gmail.com>
2018-10-25 12:47:25 -04:00
Ilkka Tengvall
42a0192425
Merge branch 'devel' into ikke-t-selinux-fix
2018-10-17 21:44:48 +03:00
Daniel Temme
921231fe3d
fix indentation for register variable
2018-10-12 11:13:42 +02:00
softwarefactory-project-zuul[bot]
99a42e91fe
Merge pull request #2235 from ChrisRo89/devel
...
Extracted more variables which a related to rabbitmq/postgresql from tasks to defaults
Reviewed-by: Shane McDonald <me@shanemcd.com>
https://github.com/shanemcd
2018-10-11 21:54:38 +00:00
softwarefactory-project-zuul[bot]
74fcdabc22
Merge pull request #2156 from Decstasy/patch-1
...
Bugfix for ca_trust_dir
Reviewed-by: https://github.com/softwarefactory-project-zuul[bot]
2018-10-11 21:31:45 +00:00
softwarefactory-project-zuul[bot]
a9f3eeef05
Merge pull request #2131 from walkafwalka/docker_install_awx_hostnames
...
Add inventory vars to set docker install hostnames
Reviewed-by: https://github.com/softwarefactory-project-zuul[bot]
2018-10-11 20:29:32 +00:00
Christian.Rohr
96ad2b2b28
Extracted more variables which a related to rabbitmq
2018-10-11 12:16:01 -04:00
Ilkka Tengvall
b4919f9ebd
Merge branch 'devel' into ikke-t-selinux-fix
2018-10-10 08:23:46 +03:00
Shane McDonald
b75f8ceca6
Do not default to pulling latest from DockerHub
2018-10-03 17:50:07 -05:00
Dennis U
a294a6f06e
Bugfix for ca_trust_dir
...
Changed syntax as ca_trust_dir was not correctly mounted in awx_web container and added command to update CA trust inside awx_web container after creation.
2018-08-09 14:07:29 +02:00
walkafwalka
d2ab7bd54d
Add inventory vars to set docker install hostnames
...
Signed-off-by: walkafwalka <41709139+walkafwalka@users.noreply.github.com>
2018-08-04 01:49:07 -07:00
Ilkka Tengvall
0443bd3099
fixes selinux permissions for awx data.
...
fixes issue #2036 and #1896
2018-07-02 09:22:36 +03:00
Shane McDonald
590d5ccad1
Merge pull request #1718 from soumikgh/devel
...
Bind mount to custom certs to `source/anchors` subfolder
2018-04-19 22:33:36 -04:00
Shane McDonald
40d7751fbd
Remove image push logic from installer roles
...
I’m going to be reusing this code on the Tower side, and I’m trying to refactor some of the AWX specific bits out. There will probably be more to come, but this is a good start.
2018-04-16 19:01:43 -04:00
Shane McDonald
479a56c6d3
Generalize variable names in installer
...
secret_key
2018-04-16 17:43:15 -04:00
Shane McDonald
3720c57c63
Fix whitespace issues with docker-compose jinja template
...
See https://github.com/ansible/awx/issues/1710
2018-04-11 11:06:34 -04:00
Soumik Ghosh
41c3e69450
Bind mount to custom certs to
2018-04-02 14:23:23 -04:00
Shane McDonald
c8ea03e67b
Move rabbitmq_version out of inventory file
...
Signed-off-by: Shane McDonald <me@shanemcd.com>
2018-03-28 12:45:05 -04:00
Shane McDonald
935dc8bca7
Upgrade to RabbitMQ 3.7, remove need for etcd2
...
Signed-off-by: Shane McDonald <me@shanemcd.com>
2018-03-28 11:45:33 -04:00
Shane McDonald
3072c3bd8d
Whitespace fix
...
Signed-off-by: Shane McDonald <me@shanemcd.com>
2018-03-27 10:57:22 -04:00
Shane McDonald
84cd933702
Move installer roles into roles directory
...
Signed-off-by: Shane McDonald <me@shanemcd.com>
2018-03-22 14:34:03 -04:00