2 Module fixes (#3611)

* Fix syntax error in azure_rm_virtualmachine.py

* Allow rhn_register to fail gracefully when rhn-client-tools is not installed
This commit is contained in:
Matt Martz 2016-05-20 00:35:43 -05:00 committed by Matt Clay
commit a2d94c85e9
2 changed files with 13 additions and 3 deletions

View file

@ -520,7 +520,7 @@ class AzureRMVirtualMachine(AzureRMModuleBase):
changed=False,
actions=[],
powerstate_change=None,
ansible_facts=dict('azure_rm_vm')
ansible_facts=dict(azure_rm_vm=None)
)
super(AzureRMVirtualMachine, self).__init__(derived_arg_spec=self.module_arg_spec,