dotfiles/toolboxes/cpp.yml
Matej Focko 6346599007
feat: add playbooks for toolboxes
Signed-off-by: Matej Focko <mfocko@redhat.com>
2022-01-15 12:34:57 +01:00

34 lines
713 B
YAML

---
- name: Prepare C/C++ container
hosts: all
become: yes
become_method: sudo
tasks:
- name: Install compilers
dnf:
name:
- gcc
- clang
state: present
- name: Install linters and tools
dnf:
name:
- clang-tools-extra
- cppcheck
state: present
- name: Install build systems
dnf:
name:
- cmake
- make
state: present
- name: Install Karel
block:
- name: Enable Copr repository
shell: dnf copr enable -y mfocko/karel
- name: Install Karel library
dnf:
name: libkarel
state: present
tags: karel