mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Update docker example on Inventory page (#20209)
The docker module has been deprecated, so the example should be updated to use the newer docker_container module.
This commit is contained in:
parent
6ef9a0af4b
commit
2b4afd23eb
1 changed files with 2 additions and 1 deletions
|
@ -310,7 +310,8 @@ ansible_docker_extra_args
|
|||
Here is an example of how to instantly deploy to created containers::
|
||||
|
||||
- name: create jenkins container
|
||||
docker:
|
||||
docker_container:
|
||||
docker_host: myserver.net:4243
|
||||
name: my_jenkins
|
||||
image: jenkins
|
||||
|
||||
|
|
Loading…
Reference in a new issue