diff --git a/src/molecule_podman/playbooks/create.yml b/src/molecule_podman/playbooks/create.yml index cc79f30..5a4ca28 100644 --- a/src/molecule_podman/playbooks/create.yml +++ b/src/molecule_podman/playbooks/create.yml @@ -166,7 +166,7 @@ {% if item.ip is defined %}--ip={{ item.ip }}{% endif %} {% if item.etc_hosts is defined %}{% for i,k in item.etc_hosts.items() %}{% if i != item.name %}--add-host {{ i }}:{{ k }} {% endif %}{% endfor %}{% endif %} {% if item.hostname is defined %}--hostname={{ item.hostname }}{% elif item.name is defined %}--hostname={{ item.name }}{% endif %} - {% if item.systemd is defined %}--systemd={{ item.systemd }}{% endif %} + {% if item.systemd is defined %}--systemd={{ item.systemd|string|lower }}{% endif %} {{ item.pre_build_image | default(false) | ternary('', 'molecule_local/') }}{{ item.image }} {{ (command_directives_dict | default({}))[item.name] | default('') }} register: server