Files
workshops/slides/ansible/examples/mmcli.yml
2025-10-14 19:02:36 +02:00

28 lines
657 B
YAML

---
- name: Install Mermaid ASCII
hosts: laka
become: true
tasks:
- name: Install deps
ansible.builtin.package:
name:
- git
- golang
- make
- name: Ensure local src dir exists
ansible.builtin.file:
path: /usr/local/src/
state: directory
mode: '0755'
- name: Clone mermaid-ascii
ansible.builtin.git:
repo: https://github.com/AlexanderGrooff/mermaid-ascii.git
dest: /usr/local/src/mermaid-ascii/
update: yes
- name: Install mermaid
community.general.make:
chdir: /usr/local/src/mermaid-ascii/
target: install