diff --git a/lib/ansible/modules/remote_management/cobbler/cobbler_system.py b/lib/ansible/modules/remote_management/cobbler/cobbler_system.py index a7768973feb..4f7c9c19e8c 100644 --- a/lib/ansible/modules/remote_management/cobbler/cobbler_system.py +++ b/lib/ansible/modules/remote_management/cobbler/cobbler_system.py @@ -107,6 +107,7 @@ EXAMPLES = r''' host: cobbler01 username: cobbler password: MySuperSecureP4sswOrd + state: query register: cobbler_systems delegate_to: localhost @@ -116,6 +117,7 @@ EXAMPLES = r''' username: cobbler password: MySuperSecureP4sswOrd name: '{{ inventory_hostname }}' + state: query register: cobbler_properties delegate_to: localhost @@ -125,6 +127,7 @@ EXAMPLES = r''' username: cobbler password: MySuperSecureP4sswOrd name: myhost + state: absent delegate_to: localhost '''