ansible / ansible-modules-extras

Ansible extra modules - these modules ship with ansible
947 stars 1.47k forks source link

Avoid using an object if it does not exists #3662

Closed Fale closed 7 years ago

Fale commented 7 years ago
ISSUE TYPE
COMPONENT NAME

system/sefcontext

ANSIBLE VERSION
2.2
SUMMARY

Use the sefcontext object only if we were able to import it

gregdek commented 7 years ago

Thanks @Fale. To the current maintainers, @dagwieers please review according to guidelines (http://docs.ansible.com/ansible/developing_modules.html#module-checklist) and comment with text 'shipit', 'needs_revision' or 'close_me' as appropriate.

[This message brought to you by your friendly Ansibull-bot.]

dagwieers commented 7 years ago

Obviously. Thanks! shipit

gregdek commented 7 years ago

Thanks again to @Fale for this PR, and thanks @dagwieers for reviewing. Marking for inclusion.

[This message brought to you by your friendly Ansibull-bot.]