added pillar configured containers to auto detect
This commit is contained in:
parent
dcb9dd29cd
commit
947767bdc9
@ -9,3 +9,10 @@ Set linger for user {{ user }}:
|
||||
cmd.run:
|
||||
- name: loginctl enable-linger {{ user }}
|
||||
- unless: test -e /var/lib/systemd/linger/{{ user }}
|
||||
|
||||
{% if pillar.containers is defined %}
|
||||
include:
|
||||
{%- for container, args in pillar.containers.items() %}
|
||||
- podman.{{ container }}
|
||||
{%- endfor %}
|
||||
{%- endif %}
|
||||
|
Reference in New Issue
Block a user