diff --git a/lib/ansible/modules/network/cumulus/nclu.py b/lib/ansible/modules/network/cumulus/nclu.py index 4a995ca1ab..ea3da16404 100644 --- a/lib/ansible/modules/network/cumulus/nclu.py +++ b/lib/ansible/modules/network/cumulus/nclu.py @@ -64,6 +64,12 @@ EXAMPLES = ''' - add int swp1 - add int swp2 +- name: Modify hostname to Cumulus-1 and commit the change + nclu: + commands: + - add hostname Cumulus-1 + commit: true + - name: Add 48 interfaces and commit the change. nclu: template: |