|
|
|
|
@ -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"
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|