disable gather facts and update playbook output (#46409)
* disable facts gather and update playbook output * fix output
This commit is contained in:
parent
33b34f5c82
commit
a1fae193c7
3 changed files with 12 additions and 21 deletions
|
@ -90,10 +90,6 @@ The playbook contains one play with two tasks, and should generate output like t
|
|||
PLAY [First Playbook]
|
||||
***************************************************************************************************************************
|
||||
|
||||
TASK [Gathering Facts]
|
||||
***************************************************************************************************************************
|
||||
ok: [vyos.example.net]
|
||||
|
||||
TASK [Get config for VyOS devices]
|
||||
***************************************************************************************************************************
|
||||
ok: [vyos.example.net]
|
||||
|
@ -101,7 +97,6 @@ The playbook contains one play with two tasks, and should generate output like t
|
|||
TASK [Display the config]
|
||||
***************************************************************************************************************************
|
||||
ok: [vyos.example.net] => {
|
||||
"failed": false,
|
||||
"msg": "The hostname is vyos and the OS is VyOS"
|
||||
}
|
||||
|
||||
|
@ -119,10 +114,6 @@ The extended first playbook has four tasks in a single play. Run it with the sam
|
|||
PLAY [First Playbook]
|
||||
************************************************************************************************************************************
|
||||
|
||||
TASK [Gathering Facts]
|
||||
***********************************************************************************************************************************
|
||||
ok: [vyos.example.net]
|
||||
|
||||
TASK [Get config for VyOS devices]
|
||||
**********************************************************************************************************************************
|
||||
ok: [vyos.example.net]
|
||||
|
@ -130,7 +121,6 @@ The extended first playbook has four tasks in a single play. Run it with the sam
|
|||
TASK [Display the config]
|
||||
*************************************************************************************************************************************
|
||||
ok: [vyos.example.net] => {
|
||||
"failed": false,
|
||||
"msg": "The hostname is vyos and the OS is VyOS"
|
||||
}
|
||||
|
||||
|
@ -145,7 +135,6 @@ The extended first playbook has four tasks in a single play. Run it with the sam
|
|||
TASK [Display the changed config]
|
||||
*************************************************************************************************************************************
|
||||
ok: [vyos.example.net] => {
|
||||
"failed": false,
|
||||
"msg": "The hostname is vyos-changed and the OS is VyOS"
|
||||
}
|
||||
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
- name: Network Getting Started First Playbook
|
||||
connection: network_cli
|
||||
gather_facts: false
|
||||
hosts: all
|
||||
tasks:
|
||||
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
- name: Network Getting Started First Playbook Extended
|
||||
connection: network_cli
|
||||
gather_facts: false
|
||||
hosts: all
|
||||
tasks:
|
||||
|
||||
|
|
Loading…
Reference in a new issue