some methods in the ansible plugin tasks