Network Management

 View Only
  • 1.  ansible commit failed

    Posted Mar 10, 2022 08:16 AM
    hi dear
     
    my playbook :


    than running:

    If you add commit, an error will be reported. If you don't add it, you can run normally, but there is no way to submit it without the commit configuration.


    ------------------------------
    leo ma
    ------------------------------


  • 2.  RE: ansible commit failed
    Best Answer

    Posted Mar 11, 2022 02:41 AM
    Just guessing, but is there missing a space before "commit"

    a yamllinter could help

    hth

    ------------------------------
    Alexander M??ller
    ------------------------------



  • 3.  RE: ansible commit failed

    Posted Mar 14, 2022 07:39 AM
    hi dear
      You are right, I always don't know where to put the spaces.

    ------------------------------
    leo ma
    ------------------------------