code: public void execute() throws MojoExecutionException, MojoFailureException {
          try {
              final List<String> command = createCommand();
              checkWorkingDirectory();
              final int status = execute(command);
              if (failOnAnsibleError && status != 0){
                  throw new MojoFailureException("Non-zero exit status returned");
              }
          } catch (IOException e) {
              throw new MojoExecutionException("Unable to run playbook", e);
          } catch (InterruptedException e) {
              throw new MojoExecutionException("Run interrupted", e);
          }
      }
docs: Constructs a command from the configured parameters and executes it, logging output at debug
  
  @throws MojoExecutionException when unable to run the ansible command