mirror of
https://github.com/ansible-collections/community.docker.git
synced 2026-07-29 11:55:04 +00:00
fix: fix tmpfs_size and tmpfs_mode not being set (#580)
* fix: fix tmpfs_size and tmpfs_mode not being set * fix: wrong file * fix: add changelog fragment * fix: update changelog fragment to match formatting Co-authored-by: Felix Fontein <felix@fontein.de> --------- Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
@@ -1165,6 +1165,17 @@ EXAMPLES = '''
|
||||
# The "NONE" check needs to be specified
|
||||
test: ["NONE"]
|
||||
|
||||
- name: Create a tmpfs with a size and mode
|
||||
community.docker.docker_container:
|
||||
name: tmpfs test
|
||||
image: ubuntu:22.04
|
||||
state: started
|
||||
mounts:
|
||||
- type: tmpfs
|
||||
target: /cache
|
||||
tmpfs_mode: "1700" # only readable to the owner
|
||||
tmpfs_size: "16G"
|
||||
|
||||
- name: Start container with block device read limit
|
||||
community.docker.docker_container:
|
||||
name: test
|
||||
|
||||
Reference in New Issue
Block a user