diff --git a/plugins/modules/command.py b/plugins/modules/command.py index 1f04d83..b5f4920 100644 --- a/plugins/modules/command.py +++ b/plugins/modules/command.py @@ -59,22 +59,22 @@ options: EXAMPLES = """ tasks: - - name: run command on remote devices + - name: Run command on remote devices command: commands: /system routerboard print - - name: run command and check to see if output contains routeros + - name: Run command and check to see if output contains routeros command: commands: /system resource print wait_for: result[0] contains MikroTik - - name: run multiple commands on remote nodes + - name: Run multiple commands on remote nodes command: commands: - /system routerboard print - /system identity print - - name: run multiple commands and evaluate the output + - name: Run multiple commands and evaluate the output command: commands: - /system routerboard print diff --git a/plugins/modules/facts.py b/plugins/modules/facts.py index 0341ef6..a7a52c0 100644 --- a/plugins/modules/facts.py +++ b/plugins/modules/facts.py @@ -30,17 +30,17 @@ options: ''' EXAMPLES = """ -# Collect all facts from the device -- facts: +- name: Collect all facts from the device + facts: gather_subset: all -# Collect only the config and default facts -- facts: +- name: Collect only the config and default facts + facts: gather_subset: - config -# Do not collect hardware facts -- facts: +- name: Do not collect hardware facts + facts: gather_subset: - "!hardware" """