Skip to content

Conversation

@pedro-psb
Copy link
Member

@pedro-psb pedro-psb commented Sep 17, 2025

For some reason it was failing to install on ansible start_container due to a missing ipaddr filter (see below).
I synced the workflow dependencies to match what pulpcore/plugins does today.

https://github.com/pulp/pulp-openapi-generator/actions/runs/17775884051/job/50523442228#step:7:97

Error while resolving value for 'line': Syntax error in template: No filter named 'ipaddr'.
Origin: /home/runner/work/pulp-openapi-generator/pulp-openapi-generator/pulp-openapi-generator/.ci/ansible/start_container.yaml:50:15

48         path: /etc/hosts
49         regexp: "\\s{{ item.value.Name }}\\s*$"
50         line: "{{ item.value.IPv4Address | ipaddr('address') }}\t{{ item.value.Name }}"
                 ^ column 15

failed: [localhost] (item={'key': 'fd04cf2478255dee7d4ecfc65c57141f106ba82bff2b6b22895a6e64d6e7db53', 'value': {'Name': 'pulp', 'EndpointID': '818a822fe677d390c9a9d9c1339d32763d2c19f15f63476a257a9ab8bc4275e5', 'MacAddress': 'ee:99:1b:41:0e:bf', 'IPv4Address': '172.18.0.2/16', 'IPv6Address': ''}}) => changed=false 
  ansible_loop_var: item
  item:
    key: fd04cf2478255dee7d4ecfc65c57141f106ba82bff2b6b22895a6e64d6e7db53
    value:
      EndpointID: 818a822fe677d390c9a9d9c1339d32763d2c19f15f63476a257a9ab8bc4275e5
      IPv4Address: 172.18.0.2/16
      IPv6Address: ''
      MacAddress: ee:99:1b:41:0e:bf
      Name: pulp
  msg: 'Task failed: Finalization of task args for ''ansible.builtin.lineinfile'' failed: Error while resolving value for ''line'': Syntax error in template: No filter named ''ipaddr''.'

@pedro-psb pedro-psb merged commit 5cb4b20 into pulp:main Sep 18, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants