Skip to content

Instantly share code, notes, and snippets.

@dopatraman
Last active April 23, 2020 00:44

Revisions

  1. dopatraman revised this gist Apr 23, 2020. 1 changed file with 6 additions and 6 deletions.
    12 changes: 6 additions & 6 deletions playbookexample.yml
    Original file line number Diff line number Diff line change
    @@ -1,7 +1,7 @@
    - hosts: all
    remote_user: user_name
    - hosts: all # 1
    remote_user: user_name # 2
    tasks:
    - name: <task name> # 1
    module_name: # 2
    module_arg1: "foo" # 3
    register: my_output # 4
    - name: <task name> # 3
    module_name: # 4
    module_arg1: "foo" # 5
    register: my_output # 6
  2. dopatraman created this gist Apr 23, 2020.
    7 changes: 7 additions & 0 deletions playbookexample.yml
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,7 @@
    - hosts: all
    remote_user: user_name
    tasks:
    - name: <task name> # 1
    module_name: # 2
    module_arg1: "foo" # 3
    register: my_output # 4