You've already forked role_podman
							
							feat: Allow to execute command in container
This commit is contained in:
		@@ -8,6 +8,8 @@ podman_containers: []
 | 
			
		||||
#  - image: docker.io/wallabag/wallabag:latest
 | 
			
		||||
#    name: wallbag
 | 
			
		||||
#    userns: keep-id
 | 
			
		||||
#    commands:
 | 
			
		||||
#       - echo toto
 | 
			
		||||
#    volumes:
 | 
			
		||||
#      - wallbag-data:/var/www/wallabag/data
 | 
			
		||||
#      - wallbag-image:/var/www/wallabag/web/assets/images
 | 
			
		||||
 
 | 
			
		||||
@@ -18,6 +18,10 @@ UserNS={{ container.userns }}
 | 
			
		||||
 | 
			
		||||
AutoUpdate=registry
 | 
			
		||||
 | 
			
		||||
{% for cmd in container.get('commands', []) %}
 | 
			
		||||
Exec={{ cmd }}
 | 
			
		||||
{% endfor %}
 | 
			
		||||
 | 
			
		||||
{% for volume in container.get('volumes', []) %}
 | 
			
		||||
Volume={{ volume }}
 | 
			
		||||
{% endfor %}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user