tutorial: remove warn parameter from 'shell' ansible module

This parameter is removed in ansible-core 2.14 [1][2] and an error is raised
during tutorial run.

FAILED! => {"changed": false, "msg": "Unsupported parameters for
(ansible.legacy.command) module: warn.

[1] https://github.com/ansible/ansible/issues/77394
[2] https://github.com/ansible/ansible/pull/77411

Change-Id: I7ee86f019eeac14ddb22abc7924d0a10b051750e
This commit is contained in:
Guillaume CHAUVEL 2022-11-24 20:56:58 +01:00
parent a09a7a1707
commit 7d91fb6010
2 changed files with 0 additions and 2 deletions

View File

@ -50,7 +50,6 @@
shell:
chdir: "{{ workspace }}/zuul-config/"
executable: /bin/bash
warn: false
cmd: |
{{ ssh_agent.stdout }}
git add playbooks zuul.d/jobs.yaml

View File

@ -126,7 +126,6 @@
shell:
chdir: "{{ workspace }}/zuul-config/"
executable: /bin/bash
warn: false
cmd: |
{{ ssh_agent.stdout }}
git add zuul.d