Skip to content

php_max_execution_time var does not have a default #3

@insanity54

Description

@insanity54

Thank you for this collection!

When I ran a playbook using code_egg.openlitespeed_wordpress.php, I saw the following task failure.

TASK [code_egg.openlitespeed_wordpress.php : Set max_execution_time] ********************************
fatal: [144.202.70.47]: FAILED! => {"msg": "The task includes an option with an undefined variable. The error was: 'php_max_execution_time' is undefined\n\nThe error appears to be in '/home/chris/.ansible/collections/ansible_collections/code_egg/openlitespeed_wordpress/roles/php/tasks/main.yml': line 28, 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: Set max_execution_time\n  ^ here\n"}

Looks like the variable defaults are missing php_max_execution_time. I did not think to set it myself, but I think it makes sense for a default to be there

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions