mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Fix synchronize tests for the updated quoting change between action and module
This commit is contained in:
parent
7720ef8ec1
commit
b0d75a0ecb
5 changed files with 8 additions and 8 deletions
|
@ -25,7 +25,7 @@ asserts:
|
|||
- "self.execute_called"
|
||||
- "self.final_module_args['_local_rsync_path'] == 'rsync'"
|
||||
# this is a crucial aspect of this scenario ...
|
||||
- "self.final_module_args['rsync_path'] == '\"sudo rsync\"'"
|
||||
- "self.final_module_args['rsync_path'] == 'sudo rsync'"
|
||||
- "self.final_module_args['src'] == '/tmp/deleteme'"
|
||||
- "self.final_module_args['dest'] == 'root@el6host:/tmp/deleteme'"
|
||||
- "self.task.become == True"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"dest": "root@el6host:/tmp/deleteme",
|
||||
"src": "/tmp/deleteme",
|
||||
"rsync_path": "\"sudo rsync\"",
|
||||
"rsync_path": "sudo rsync",
|
||||
"_local_rsync_path": "rsync"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -25,7 +25,7 @@ asserts:
|
|||
- "self.execute_called"
|
||||
- "self.final_module_args['_local_rsync_path'] == 'rsync'"
|
||||
# this is a crucial aspect of this scenario ...
|
||||
- "self.final_module_args['rsync_path'] == '\"sudo rsync\"'"
|
||||
- "self.final_module_args['rsync_path'] == 'sudo rsync'"
|
||||
- "self.final_module_args['src'] == '/tmp/deleteme'"
|
||||
- "self.final_module_args['dest'] == 'root@el6host:/tmp/deleteme'"
|
||||
- "self.task.become == None"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"dest": "root@el6host:/tmp/deleteme",
|
||||
"src": "/tmp/deleteme",
|
||||
"rsync_path": "\"sudo rsync\"",
|
||||
"rsync_path": "sudo rsync",
|
||||
"_local_rsync_path": "rsync"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"dest": "el6host:/tmp/deleteme",
|
||||
"src": "/tmp/deleteme",
|
||||
"rsync_path": "\"sudo rsync\"",
|
||||
"rsync_path": "sudo rsync",
|
||||
"_local_rsync_path": "rsync"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue