Skip to content

Commit

Permalink
Add support for cgroupns_mode (ansible#3700)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhan9san authored and davedittrich committed Dec 4, 2022
1 parent 5534dd9 commit b609254
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/molecule/data/molecule.json
Original file line number Diff line number Diff line change
Expand Up @@ -140,8 +140,9 @@
"title": "Box",
"type": "string"
},
"cgroupns": {
"title": "Cgroupns",
"cgroupns_mode": {
"enum": ["host", "private"],
"title": "Cgroup namespace mode",
"type": "string"
},
"children": {
Expand Down
3 changes: 3 additions & 0 deletions tools/test-schema/test/molecule/cluster/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ platforms:
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup:ro
privileged: true
cgroupns_mode: private
pre_build_image: true
groups:
- zookeeper
Expand All @@ -30,6 +31,7 @@ platforms:
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup:ro
privileged: true
cgroupns_mode: private
pre_build_image: true
groups:
- zookeeper
Expand All @@ -42,6 +44,7 @@ platforms:
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup:ro
privileged: true
cgroupns_mode: private
pre_build_image: true
groups:
- zookeeper
Expand Down

0 comments on commit b609254

Please sign in to comment.