Users Guide

Table Of Contents
state: present
dellos_ntp:
server:
- ip: 3.3.3.3
The dellos_cfg_generate parameter creates a local copy of the configuration commands applied to the remote switch on the
Ansible controller node, and saves the commands in the directory defined in the
build_dir path.
8. Create a playbook file.
$ vim playbook.yaml
- hosts: OS10switch-1 OS10switch-2
connection: network_cli
roles:
- dell-networking.dellos-logging
- dell-networking.dellos-users
- dell-networking.dellos-ntp
To check the syntax of a playbook, use the ansible-playbook command with the --syntax-check flag. This command runs
the playbook file through the parser to ensure that its included files, roles, and other parameters have no syntax problems.
9. Run the playbook file. In the ansible-playbook command, the inventory and playbook files are mandatory entries. The play recap
displays the results of the provisioning session; for example:
$ ansible-playbook -i inventory.yaml playbook.yaml
...
...
...
PLAY RECAP
***************************************************************
OS10switch-1: ok=7 changed=6 unreachable=0 failed=0
OS10switch-2: ok=7 changed=6 unreachable=0 failed=0
106
OS10 provisioning