mirror of https://github.com/ansible/ansible.git
displaly. log, handle when caplevel is already taken care of (#82227)
reneables ansible loggingpull/82225/head
parent
f8cdec6324
commit
f6d7dd0840
@ -0,0 +1,2 @@
|
|||||||
|
shippable/posix/group4
|
||||||
|
context/controller
|
@ -0,0 +1,4 @@
|
|||||||
|
- hosts: localhost
|
||||||
|
gather_facts: false
|
||||||
|
tasks:
|
||||||
|
- ping:
|
@ -0,0 +1,12 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
set -eux
|
||||||
|
|
||||||
|
ALOG=${OUTPUT_DIR}/ansilbe_log_test.log
|
||||||
|
|
||||||
|
ansible-playbook logit.yml
|
||||||
|
[ ! -f "${ALOG}" ]
|
||||||
|
|
||||||
|
ANSIBLE_LOG_PATH=${ALOG} ansible-playbook logit.yml
|
||||||
|
[ -f "${ALOG}" ]
|
||||||
|
grep -q 'ping' "${ALOG}"
|
Loading…
Reference in New Issue