mirror of
				https://git.lapiole.org/dani/ansible-roles.git
				synced 2025-11-04 04:41:27 +01:00 
			
		
		
		
	Update to 2023-07-09 23:00
This commit is contained in:
		@@ -133,6 +133,27 @@ plugin "docker" {
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
{% if 'podman' in nomad_enabled_task_drivers %}
 | 
			
		||||
plugin "podman-driver-podman" {
 | 
			
		||||
  config {
 | 
			
		||||
    recover_stopped = {{ nomad_conf.client.task_drivers.podman.recover_stopped | ternary('true', 'false') }}
 | 
			
		||||
{% if nomad_conf.client.task_drivers.podman.socket_path is defined %}
 | 
			
		||||
    socket_path = "{{ nomad_conf.client.task_drivers.podman.socket_path }}"
 | 
			
		||||
{% endif %}
 | 
			
		||||
{% if nomad_conf.client.task_drivers.podman.volumes.enabled %}
 | 
			
		||||
    volumes {
 | 
			
		||||
      enabled = true
 | 
			
		||||
    }
 | 
			
		||||
{% endif %}
 | 
			
		||||
    extra_labels = [
 | 
			
		||||
{% for label in nomad_conf.client.task_drivers.podman.extra_labels %}
 | 
			
		||||
      "{{ label }}",
 | 
			
		||||
{% endfor %}
 | 
			
		||||
    ]
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
{% endif %}
 | 
			
		||||
 | 
			
		||||
plugin "raw_exec" {
 | 
			
		||||
  config {
 | 
			
		||||
    enabled = {{ ('raw_exec' in nomad_enabled_task_drivers) | ternary('true', 'false') }}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user