Skip to content

Commit

Permalink
fix: fixed spurious c/p error
Browse files Browse the repository at this point in the history
  • Loading branch information
kristof-mattei committed Feb 10, 2023
1 parent 749e3a5 commit c41d9dc
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 18 deletions.
1 change: 0 additions & 1 deletion plugins/modules/docker_container.py
Original file line number Diff line number Diff line change
Expand Up @@ -1170,7 +1170,6 @@
name: tmpfs test
image: ubuntu:22.04
state: started
mount
mounts:
- type: tmpfs
target: /cache
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -212,33 +212,17 @@
type: tmpfs
tmpfs_mode: "1777"
tmpfs_size: "1GB"
force_kill: true
- target: /cache2
type: tmpfs
tmpfs_mode: "1777"
tmpfs_size: "1GB"
force_kill: true
- target: /cache3
type: tmpfs
tmpfs_mode: "1777"
tmpfs_size: "1GB"
force_kill: true
register: tmpfs_3

- name: tmpfs (less mount)
docker_container:
image: "{{ docker_test_image_alpine }}"
command: '/bin/sh -c "sleep 10m"'
name: "{{ cname }}"
state: started
mounts:
- target: /cache1
type: tmpfs
tmpfs_mode: "1777"
tmpfs_size: "1GB"
force_kill: true
register: tmpfs_4

- name: tmpfs (change mode)
docker_container:
image: "{{ docker_test_image_alpine }}"
Expand All @@ -251,7 +235,7 @@
tmpfs_mode: "1700"
tmpfs_size: "1GB"
force_kill: true
register: tmpfs_5
register: tmpfs_4

- name: tmpfs (change size)
docker_container:
Expand Down

0 comments on commit c41d9dc

Please sign in to comment.