Skip to content

TypeError in Apache action #56

@belal-i

Description

@belal-i

Lampsible will fail when trying to set up a bare bones Apache server.

Steps to reproduce:

lampsible [email protected] apache --insecure-no-ssl

Current behavior:

Traceback (most recent call last):
  File "/home/anon/.venv/bin/lampsible", line 8, in <module>
    sys.exit(cli.main())
             ^^^^^^^^^^
  File "/home/anon/.venv/lib/python3.12/site-packages/lampsible/cli.py", line 596, in main
    lampsible.run()
  File "/home/anon/.venv/lib/python3.12/site-packages/lampsible/lampsible.py", line 621, in run
    self._update_env()
  File "/home/anon/.venv/lib/python3.12/site-packages/lampsible/lampsible.py", line 413, in _update_env
    value = [
            ^
TypeError: can only concatenate list (not "NoneType") to list

Expected behavior:

Lampsible should successfully run, and Apache should be running on the host.

Affected versions: >= 2.2.0

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions