Skip to content

Commit eab71cf

Browse files
committed
ci(ansible): replace stdout_callback with result_format
The 'community.general.yaml' callback plugin has been removed. The plugin has been superseded by the option `result_format=yaml` in callback plugin ansible.builtin.default from ansible-core 2.13 onwards. This feature was removed from collection 'community.general' version 12.0.0.
1 parent 8a7b49e commit eab71cf

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/workflows/production.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ jobs:
6969
ansible-galaxy install -r requirements.yml
7070
export ANSIBLE_CONFIG=./ansible.cfg
7171
export ANSIBLE_FORCE_COLOR=True
72-
export ANSIBLE_STDOUT_CALLBACK=yaml
72+
export ANSIBLE_CALLBACK_RESULT_FORMAT=yaml
7373
export FORCE_COLOR=1
7474
export TERM=xterm-color
7575
ansible-playbook playbook.yml -vv

ansible/ansible.cfg

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ inventory = inventory.ini
33
remote_user = ubuntu
44
private_key_file = key.pem
55
host_key_checking = False
6+
result_format = yaml
67

78
[privilege_escalation]
89
become=true

0 commit comments

Comments
 (0)