Debops 3.0.3 not compatible with latest ansible
Nobody has claimed this yet.
- Dominant language
- Jinja
- Stars
- 1.4k
- Forks
- 379
- Avg merge
- 4d 18h
- Merged PRs (30d)
- 8
Description
Hi,
I'm reporting that debops 3.0.3 (installed from galaxy-collections) is not compatible with latest ansible installed via ppa ( https://docs.ansible.com/ansible/latest/installation_guide/installation_distros.html#installing-ansible-on-ubuntu ) on Ubuntu 22.04 .
Ferm playbook (~/.ansible/collections/ansible_collections/debops/debops/playbooks/service/ferm.yml) fails with Jinja templating error, string was expected, but got int.
Using ansible from official Ubuntu repos (non-ppa) do not cause this issue, but that ansible version is EOF.
OS: Ubuntu 22.04
Debops: 3.0.3 (from galaxy-collections)
Ansible version from official Ubuntu repos:
$ ansible --version
ansible 2.10.8
config file = /home/ansible/debops/ansible.cfg
configured module search path = ['/home/ansible/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
ansible python module location = /usr/lib/python3/dist-packages/ansible
executable location = /usr/bin/ansible
python version = 3.10.6 (main, Nov 14 2022, 16:10:14) [GCC 11.3.0]
Ansible version from ppa:
$ ansible --version
ansible [core 2.13.7]
config file = /home/ansible/debops/ansible.cfg
configured module search path = ['/home/ansible/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
ansible python module location = /usr/lib/python3/dist-packages/ansible
ansible collection location = /home/ansible/.ansible/collections:/usr/share/ansible/collections
executable location = /usr/bin/ansible
python version = 3.10.6 (main, Nov 14 2022, 16:10:14) [GCC 11.3.0]
jinja version = 3.0.3
libyaml = True
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the failure on Ubuntu 22.04 with DebOps 3.0.3 and Ansible core 2.13.7, using playbooks/service/ferm.yml under the DebOps collection path. Inspect the reported Jinja templating failure and compare it with Ansible 2.10.8. Done means the ferm playbook runs without the reported type error on the newer Ansible version.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python, ubuntu
- Domain
- devops
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 40/100