Skip to content

Commit c34cc65

Browse files
wh-zfyziegenberg
authored andcommitted
fix(docker): use item.dest instead of item.invocation.module_args.dest
ansible-core 2.21 no longer attaches `invocation` to looped registered task results, breaking `create.yml` on Ansible 14.
1 parent a767f0b commit c34cc65

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/molecule_plugins/docker/playbooks/create.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@
100100
community.docker.docker_image:
101101
build:
102102
path: "{{ molecule_ephemeral_directory }}"
103-
dockerfile: "{{ item.invocation.module_args.dest }}"
103+
dockerfile: "{{ item.dest }}"
104104
pull: "{{ item.item.pull | default(true) }}"
105105
network: "{{ item.item.network_mode | default(omit) }}"
106106
args: "{{ item.item.buildargs | default(omit) }}"

0 commit comments

Comments
 (0)