Skip to content
This repository has been archived by the owner on Jan 8, 2023. It is now read-only.

Commit

Permalink
Fix podman systemd argument (#79)
Browse files Browse the repository at this point in the history
* fix: systemd argument takes only lowercase

* fix: add string filter for readability
  • Loading branch information
0b11stan authored Sep 1, 2021
1 parent 0066fe0 commit 57c123c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/molecule_podman/playbooks/create.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 57c123c

Please sign in to comment.