mirror of
https://github.com/ansible/awx.git
synced 2026-02-26 23:46:05 -03:30
Merge pull request #13277 from jbradberry/psql-pager
Configure dbshell to use the 'less' pager
This commit is contained in:
@@ -273,7 +273,8 @@ RUN for dir in \
|
|||||||
/var/lib/shared/vfs-layers/layers.lock \
|
/var/lib/shared/vfs-layers/layers.lock \
|
||||||
/var/run/nginx.pid \
|
/var/run/nginx.pid \
|
||||||
/var/lib/awx/venv/awx/lib/python3.9/site-packages/awx.egg-link ; \
|
/var/lib/awx/venv/awx/lib/python3.9/site-packages/awx.egg-link ; \
|
||||||
do touch $file ; chmod g+rw $file ; done
|
do touch $file ; chmod g+rw $file ; done && \
|
||||||
|
echo "\setenv PAGER 'less -S'" > /var/lib/awx/.psqlrc
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if not build_dev|bool %}
|
{% if not build_dev|bool %}
|
||||||
|
|||||||
Reference in New Issue
Block a user