positive integer. Unit can be B (byte), K (kibibyte, 1024B), M (mebibyte), G (gibibyte), T (tebibyte), or P (pebibyte).
Omitting the unit defaults to bytes.
правильно ли я понимаю что будет выглядеть так
- name: Building a new container
docker_container:
command: "{{ serviceCommand }}"
env: "{{ serviceEnv }}"
image: "url/{{ serviceImage }}:{{ serviceTag }}"
name: "{{ serviceName }}-{{ serviceTag|regex_replace('(.*)-[A-Za-z]{3}$', '\\1') }}"
network_mode: "{{ serviceNetMode }}"
published_ports: "{{ servicePorts }}"
restart_policy: "{{ serviceRestart }}"
memory: "165G"
state: present
volumes: "{{ serviceVolumes }}"
?
Да
Обсуждают сегодня