34 lines
713 B
YAML
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
|