mirror of
https://github.com/ansible/awx.git
synced 2024-10-31 23:51:09 +03:00
84eacfc360
the main goal of this change is to make `make docker-isolated` work out
of the box
- specify the proper version for awx-expect --version
- update some deprecated playbook bits
- change the isolated container to privileged so bwrap will work
- fix awx-manage test_isolated_connection
- expedite the first isolated heartbeat so you don't have to wait 10m;
this is accomplished by _not_ setting Instance.last_isolated_check to
now() at insertion time (which causes the next check not to happen for
10 minutes)
- fix a bug that caused isolated node execution to fail when bwrap was
enabled
see: https://github.com/ansible/tower/issues/2150
This reverts commit 9863fe71dc
.
18 lines
429 B
YAML
18 lines
429 B
YAML
version: '3'
|
|
services:
|
|
# Primary Tower Development Container link
|
|
awx:
|
|
environment:
|
|
AWX_GROUP_QUEUES: tower,thepentagon
|
|
links:
|
|
- isolated
|
|
# Isolated Rampart Container
|
|
isolated:
|
|
image: ${DEV_DOCKER_TAG_BASE}/awx_isolated:${TAG}
|
|
hostname: isolated
|
|
volumes:
|
|
- "../awx/main/expect:/awx_devel"
|
|
- "../awx/lib:/awx_lib"
|
|
- "/sys/fs/cgroup:/sys/fs/cgroup:ro"
|
|
privileged: true
|