Skip to content

missing php_extensions_default when provisioning sshd #1532

@aymanrady

Description

@aymanrady

Version

1.22.1

What did you expect to happen?

The provisioning to complete without issues

What actually happens?

Failure in [common : Verify dict format for apt package component variables]

Steps to reproduce

trellis provision --tags=sshd staging

System info

Ubuntu 20.04

Log output

TASK [common : Verify dict format for apt package component variables] *********
fatal: [x.x.x.x]: FAILED! => {"msg": "The conditional check 'package_vars_wrong_format | count' failed. The error was: error while evaluating conditional (package_vars_wrong_format | count): [{% for k,v in package_vars.items() | list if v | type_debug != 'dict' %}'{{ k }}',{% endfor %}]: {'apt_packages_default': '{{ apt_packages_default }}', 'apt_packages_custom': '{{ apt_packages_custom }}', 'memcached_packages_default': '{{ memcached_packages_default }}', 'memcached_packages_custom': '{{ memcached_packages_custom }}', 'php_extensions_default': '{{ php_extensions_default }}', 'php_extensions_custom': '{{ php_extensions_custom }}', 'sshd_packages_default': '{{ sshd_packages_default }}', 'sshd_packages_custom': '{{ sshd_packages_custom }}'}: 'php_extensions_default' is undefined\n\nThe error appears to be in '/home/me/project/trellis/roles/common/tasks/main.yml': line 56, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n- name: Verify dict format for apt package component variables\n  ^ here\n"}

Please confirm this isn't a support request.

Yes

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions