Skip to content

Instantly share code, notes, and snippets.

@AysadKozanoglu
Last active December 13, 2023 18:50
Show Gist options
  • Select an option

  • Save AysadKozanoglu/23e6ea3d8ba388d1f57b52dcf86a7f0c to your computer and use it in GitHub Desktop.

Select an option

Save AysadKozanoglu/23e6ea3d8ba388d1f57b52dcf86a7f0c to your computer and use it in GitHub Desktop.

Revisions

  1. AysadKozanoglu revised this gist Nov 29, 2023. No changes.
  2. AysadKozanoglu renamed this gist Nov 29, 2023. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  3. AysadKozanoglu created this gist Nov 29, 2023.
    25 changes: 25 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,25 @@
    ---
    title: Ansible Playbook Grapher
    ---
    %%{ init: { "flowchart": { "curve": "bumpX" } } }%%
    flowchart LR
    %% Start of the playbook 'useradd.yml'
    playbook_bb300d68("useradd.yml")
    %% Start of the play 'Play: adding new user {{ newuser }} (2)'
    play_91c8fe77["Play: adding new user {{ newuser }} (2)"]
    style play_91c8fe77 fill:#5b9636,color:#ffffff
    playbook_bb300d68 --> |"1"| play_91c8fe77
    linkStyle 0 stroke:#5b9636,color:#5b9636
    %% Start of the role 'newuser'
    play_91c8fe77 --> |"1"| role_c0f616f1
    linkStyle 1 stroke:#5b9636,color:#5b9636
    role_c0f616f1("[role] newuser")
    style role_c0f616f1 fill:#5b9636,color:#ffffff,stroke:#5b9636
    task_386cab2f[" newuser : Create new user {{ newuser }}"]
    style task_386cab2f stroke:#5b9636,fill:#ffffff
    role_c0f616f1 --> |"1"| task_386cab2f
    linkStyle 2 stroke:#5b9636,color:#5b9636
    %% End of the role 'newuser'
    %% End of the play 'Play: adding new user {{ newuser }} (2)'
    %% End of the playbook 'useradd.yml'