code: def run(self):
          
          self.setup()
          if self.detach:
              self.econtext.detach()
  
          try:
              return self._run()
          finally:
              self.revert()
docs: Set up the process environment in preparation for running an Ansible
          module. This monkey-patches the Ansible libraries in various places to
          prevent it from trying to kill the process on completion, and to
          prevent it from reading sys.stdin.
  
          :returns:
              Module result dictionary.