diff --git a/tasks/container.yml b/tasks/container.yml index f720493..aa951fe 100644 --- a/tasks/container.yml +++ b/tasks/container.yml @@ -5,7 +5,7 @@ image: '{{ es_lb_image }}' pull: true restart_policy: always - network_type: host + network_mode: host state: '{{ cont_state }}' recreate: '{{ cont_recreate }}' restart: '{{ es_lb_config.changed | default(cont_restart) }}'