These tests will automatically use a user account from the known
AD environment.
Signed-off-by: John Mulligan <jmulligan@redhat.com>
- "{{ctx.samba_client_container_cmd|join(' ')}} smbclient -U DOMAIN1\\\\ckent%1115Rose. //{{'host.a'|role_to_remote|attr('ip_address')}}/share1 -c ls"
- "{{ctx.samba_client_container_cmd|join(' ')}} smbclient -U DOMAIN1\\\\ckent%1115Rose. //{{'host.a'|role_to_remote|attr('ip_address')}}/share2 -c ls"
+- smb.workunit:
+ admin_node: host.a
+ smb_nodes: [host.a]
+ smb_shares:
+ - share1
+ - share2
+ timeout: 1h
+ clients:
+ client.0:
+ - [default]
+
- cephadm.shell:
host.a:
- cmd: ceph smb share rm modtest1 share2
- "{{ctx.samba_client_container_cmd|join(' ')}} smbclient -U DOMAIN1\\\\ckent%1115Rose. //{{'host.a'|role_to_remote|attr('ip_address')}}/share1 -c ls"
- "{{ctx.samba_client_container_cmd|join(' ')}} smbclient -U DOMAIN1\\\\ckent%1115Rose. //{{'host.a'|role_to_remote|attr('ip_address')}}/share2 -c ls"
+- smb.workunit:
+ admin_node: host.a
+ smb_nodes: [host.a]
+ smb_shares:
+ - share1
+ - share2
+ timeout: 1h
+ clients:
+ client.0:
+ - [default]
+
- cephadm.shell:
host.a:
- cmd: ceph smb apply -i -
- "{{ctx.samba_client_container_cmd|join(' ')}} smbclient -U DOMAIN1\\\\ckent%1115Rose. //{{'host.a'|role_to_remote|attr('ip_address')}}/share1 -c ls"
- "{{ctx.samba_client_container_cmd|join(' ')}} smbclient -U DOMAIN1\\\\ckent%1115Rose. //{{'host.a'|role_to_remote|attr('ip_address')}}/share2 -c ls"
+- smb.workunit:
+ admin_node: host.a
+ smb_nodes: [host.a]
+ smb_shares:
+ - share1
+ - share2
+ timeout: 1h
+ clients:
+ client.0:
+ - [default]
+
- exec:
host.a:
- |
- "{{ctx.samba_client_container_cmd|join(' ')}} smbclient -U DOMAIN1\\\\ckent%1115Rose. //{{'host.a'|role_to_remote|attr('ip_address')}}/share1 -c ls"
- "{{ctx.samba_client_container_cmd|join(' ')}} smbclient -U DOMAIN1\\\\ckent%1115Rose. //{{'host.a'|role_to_remote|attr('ip_address')}}/share2 -c ls"
+- smb.workunit:
+ admin_node: host.a
+ smb_nodes: [host.a]
+ smb_shares:
+ - share1
+ - share2
+ timeout: 1h
+ clients:
+ client.0:
+ - [default]
+
- exec:
host.a:
- |