summaryrefslogtreecommitdiffstats
path: root/roles/common/tasks/pkgs.yml
blob: 280df44b530e01c6a2703b0c5267ce59b19b1d53 (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
73
74
- name: Installation des paquets pour Centos
  yum: name={{ item }} state=present
  with_items:
    - yum-plugin-fastestmirror
    - yum-plugin-verify
    - lsof
    - net-tools
    - iptables-services
  when: ansible_distribution == "CentOS"

- name: Installation des paquets
  package:
    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
    - rpmconf
    - pbzip2
    - pxz
    - testdisk
    - colordiff
    - iftop
    - whois

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

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

- name: Installation de pipe viewer
  package:
    name: pv
    state: present
  when: ansible_devices.sr0 is defined