@@ -581,41 +581,6 @@ with:
581581
582582# # assert
583583
584- # ## `assert.command`
585-
586- Assert that a remote command matches the requested condition.
587-
588- - Remote session : ` true`
589- - Dry-run support : ` true`
590- - Check mode support : ` false`
591-
592- | Parameter | Required | Type | Default | Description |
593- |---|---:|---|---|---|
594- | `command` | yes | `string` | | Command line to execute. |
595- | `rc` | no | `integer` | `0` | Expected process return code. |
596- | `equals` | no | `string` | | Expected stdout value after trimming whitespace. |
597- | `contains` | no | `string` | | Required substring in stdout or HTTP response body. |
598- | `not_contains` | no | `string` | | Substring that must not appear in stdout. |
599- | `sudo` | no | `boolean` | `False` | Run the remote operation through sudo -n when supported. |
600- | `get_pty` | no | `boolean` | `False` | Request a pseudo-terminal for the remote command. |
601-
602- Result fields :
603-
604- - `changed` : Whether the plugin changed the target or controller state.
605- - `message` : Human-readable result message.
606- - `rc` : Process or command return code when applicable.
607- - `stdout` : Captured standard output when applicable.
608- - `stderr` : Captured standard error when applicable.
609- - `data` : Plugin-specific structured result data.
610-
611- Example :
612-
613- ` ` ` yaml
614- use: assert.command
615- with:
616- command: echo automax
617- ` ` `
618-
619584# ## `assert.disk`
620585
621586Assert remote disk capacity thresholds.
@@ -11320,43 +11285,6 @@ with:
1132011285
1132111286# # wait
1132211287
11323- # ## `wait.command`
11324-
11325- Wait until a remote command matches the requested condition.
11326-
11327- - Remote session : ` true`
11328- - Dry-run support : ` true`
11329- - Check mode support : ` false`
11330-
11331- | Parameter | Required | Type | Default | Description |
11332- |---|---:|---|---|---|
11333- | `command` | yes | `string` | | Command line to execute. |
11334- | `timeout` | no | `number` | | Operation timeout in seconds. |
11335- | `interval` | no | `number` | `2` | Polling interval in seconds. |
11336- | `rc` | no | `integer` | `0` | Expected process return code. |
11337- | `equals` | no | `string` | | Expected stdout value after trimming whitespace. |
11338- | `contains` | no | `string` | | Required substring in stdout or HTTP response body. |
11339- | `not_contains` | no | `string` | | Substring that must not appear in stdout. |
11340- | `sudo` | no | `boolean` | `False` | Run the remote operation through sudo -n when supported. |
11341- | `get_pty` | no | `boolean` | `False` | Request a pseudo-terminal for the remote command. |
11342-
11343- Result fields :
11344-
11345- - `changed` : Whether the plugin changed the target or controller state.
11346- - `message` : Human-readable result message.
11347- - `rc` : Process or command return code when applicable.
11348- - `stdout` : Captured standard output when applicable.
11349- - `stderr` : Captured standard error when applicable.
11350- - `data` : Plugin-specific structured result data.
11351-
11352- Example :
11353-
11354- ` ` ` yaml
11355- use: wait.command
11356- with:
11357- command: echo automax
11358- ` ` `
11359-
1136011288# ## `wait.file`
1136111289
1136211290Wait until a remote file condition is true.
0 commit comments