Skip to content

Commit 3ba1625

Browse files
committed
ci: Reduce verbosity of Ansible integration tests
1 parent da3772c commit 3ba1625

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

.ci/ansible_tests.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ def pause_if_interactive():
7070
with ci_lib.Fold('ansible'):
7171
playbook = os.environ.get('PLAYBOOK', 'all.yml')
7272
try:
73-
run('./run_ansible_playbook.py %s -i "%s" -vvv %s',
73+
run('./run_ansible_playbook.py %s -i "%s" %s',
7474
playbook, HOSTS_DIR, ' '.join(sys.argv[1:]))
7575
except:
7676
pause_if_interactive()

.ci/azure-pipelines.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@
33
# Add steps that analyze code, save the dist with the build record, publish to a PyPI-compatible index, and more:
44
# https://docs.microsoft.com/azure/devops/pipelines/languages/python
55

6+
# User defined variables are also injected as environment variables
7+
# https://docs.microsoft.com/en-us/azure/devops/pipelines/process/variables#environment-variables
8+
#variables:
9+
#ANSIBLE_VERBOSITY: 3
10+
611
jobs:
712

813
- job: Mac

.ci/localhost_ansible_tests.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,11 @@
4646

4747
if os.path.expanduser('~mitogen__user1') == '~mitogen__user1':
4848
os.chdir(IMAGE_PREP_DIR)
49-
run("ansible-playbook -c local -i localhost, _user_accounts.yml -vvv")
49+
run("ansible-playbook -c local -i localhost, _user_accounts.yml")
5050

5151

5252
with ci_lib.Fold('ansible'):
5353
os.chdir(TESTS_DIR)
5454
playbook = os.environ.get('PLAYBOOK', 'all.yml')
55-
run('./run_ansible_playbook.py %s -l target %s -vvv',
55+
run('./run_ansible_playbook.py %s -l target %s',
5656
playbook, ' '.join(sys.argv[1:]))

0 commit comments

Comments
 (0)