summaryrefslogtreecommitdiffstats
path: root/roles/common/tasks/pkgs.yml
blob: cffd957d4f3b9e64c11c08bdab2c315c78977cf8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
- name: Installation des paquets pour Centos
  yum: name={{ item }} state=present
  with_items:
    - yum-plugin-fastestmirror
    - yum-plugin-verify
    - lsof
    - net-tools
  when: ansible_distribution == "CentOS"

- name: Installation des paquets
  dnf: name={{ item }} state=present
  with_items:
    - emacs-nox
    - iotop
    - nmap
    - screen
    - powertop
    - ipset
    - patch
    - gpm
    - elinks
    - mutt
    - nfs-utils
    - tcpdump
    - bind-utils
    - tar
    - at
    - zsh
    - libsemanage-python
    - policycoreutils-python
    - setools-console
    - cryptsetup
    - rsync
    - sudo
    - tmux
    - htop
    - glances
    - docker

- name: Installation des paquets pour Fedora
  dnf: name={{ item }} state=present
  with_items:
    - iftop
    - bvi
    - whois
    - rpmconf
    - colordiff
    - mined
    - fpaste
    - wget
    - bash-completion
    - pbzip2
    - pxz
    - scapy
    - testdisk
    - steghide
    - yum-utils
    - util-linux-user
  when: ansible_distribution == "Fedora" and ansible_distribution_version|int >= 22

- name: Installation des paquets disgnostic matériel
  dnf: name={{ item }} state=present
  with_items:
    - memtest86+
    - lm_sensors
    - hddtemp
    - smartmontools
  when: ansible_virtualization_role == "NA" or ansible_virtualization_role == "host"

- name: Installation d'un programme de gravure
  dnf: name=wodim state=present
  when: ansible_devices.sr0 is defined