Merge branch 'master' of github.com:IronicBadger/ansible-role-docker-compose-generator
This commit is contained in:
		
						commit
						d9aecfb891
					
				@ -50,5 +50,20 @@ services:
 | 
				
			|||||||
{% if item.restart is defined %}
 | 
					{% if item.restart is defined %}
 | 
				
			||||||
    restart: {{ item.restart }}
 | 
					    restart: {{ item.restart }}
 | 
				
			||||||
{% endif %}
 | 
					{% endif %}
 | 
				
			||||||
 | 
					{% if item.cap_add is defined %}
 | 
				
			||||||
 | 
					    cap_add: 
 | 
				
			||||||
 | 
					{% for item in item.cap_add %}
 | 
				
			||||||
 | 
					      - {{ item }}
 | 
				
			||||||
 | 
					{% endfor %}
 | 
				
			||||||
 | 
					{% endif %}
 | 
				
			||||||
 | 
					{% if item.command is defined %}
 | 
				
			||||||
 | 
					    command: {{ item.command }}
 | 
				
			||||||
 | 
					{% endif %}
 | 
				
			||||||
 | 
					{% if item.security_opt is defined %}
 | 
				
			||||||
 | 
					    security_opt:
 | 
				
			||||||
 | 
					{% for item in item.security_opt %}
 | 
				
			||||||
 | 
					      - {{ item }}
 | 
				
			||||||
 | 
					{% endfor %}
 | 
				
			||||||
 | 
					{% endif %}
 | 
				
			||||||
{% endif %}
 | 
					{% endif %}
 | 
				
			||||||
{% endfor %}
 | 
					{% endfor %}
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user