Skip to content

Commit be43dfd

Browse files
committed
Fix CI errors
Signed-off-by: nishipy <[email protected]>
1 parent 56e5d77 commit be43dfd

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

plugins/modules/podman_container_exec.py

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,7 @@
121121
from ansible.module_utils.six import string_types
122122
import shlex
123123

124+
124125
def run_container_exec(module: AnsibleModule) -> dict:
125126
'''
126127
Execute podman-container-exec for the given options
@@ -196,32 +197,29 @@ def main():
196197
argument_spec = {
197198
'name': {
198199
'type': 'str',
199-
'required': True
200+
'required': True,
200201
},
201202
'command': {
202203
'type': 'str',
203204
},
204205
'argv': {
205206
'type': 'list',
207+
'elements': 'str',
206208
},
207209
'detach': {
208210
'type': 'bool',
209-
'default': False
211+
'default': False,
210212
},
211213
'env': {
212214
'type': 'dict',
213215
},
214216
'privileged': {
215217
'type': 'bool',
216-
'default': False
217-
},
218-
'privileged': {
219-
'type': 'bool',
220-
'default': False
218+
'default': False,
221219
},
222220
'tty': {
223221
'type': 'bool',
224-
'default': False
222+
'default': False,
225223
},
226224
'user': {
227225
'type': 'str',

0 commit comments

Comments
 (0)