mirror of
https://github.com/ansible-collections/community.docker.git
synced 2025-12-19 21:42:45 +00:00
parent
6f6dd14492
commit
d266c69ddc
@ -74,8 +74,8 @@ options:
|
|||||||
state:
|
state:
|
||||||
description:
|
description:
|
||||||
- Desired state of the project.
|
- Desired state of the project.
|
||||||
- Specifying V(present) is the same as running C(docker-compose up) resp. C(docker-compose stop) (with V(stopped)) resp. C(docker-compose restart)
|
- Specifying V(present) is the same as running C(docker-compose up) resp. C(docker-compose stop) (with O(stopped=true)) resp. C(docker-compose restart)
|
||||||
(with V(restarted)).
|
(with O(restarted=true)).
|
||||||
- Specifying V(absent) is the same as running C(docker-compose down).
|
- Specifying V(absent) is the same as running C(docker-compose down).
|
||||||
type: str
|
type: str
|
||||||
default: present
|
default: present
|
||||||
@ -84,8 +84,8 @@ options:
|
|||||||
- present
|
- present
|
||||||
services:
|
services:
|
||||||
description:
|
description:
|
||||||
- When O(state) is V(present) run C(docker-compose up) resp. C(docker-compose stop) (with V(stopped)) resp. C(docker-compose restart) (with V(restarted))
|
- When O(state) is V(present) run C(docker-compose up) resp. C(docker-compose stop) (with O(stopped=true)) resp.
|
||||||
on a subset of services.
|
C(docker-compose restart) (with O(restarted=true)) on a subset of services.
|
||||||
- If empty, which is the default, the operation will be performed on all services defined in the Compose file (or inline O(definition)).
|
- If empty, which is the default, the operation will be performed on all services defined in the Compose file (or inline O(definition)).
|
||||||
type: list
|
type: list
|
||||||
elements: str
|
elements: str
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user