summaryrefslogtreecommitdiffstats
path: root/roles/common/tasks/pkgs.yml
blob: 8911bf5f4471276341afdb1be955939d54965732 (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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
- name: Installation des paquets
  yum: name={{ item }} state=present
  with_items:
    - emacs-nox
    - iotop
    - nmap
    - yum-plugin-fastestmirror
    - yum-plugin-verify
    - screen
    - powertop
    - ipset
    - patch
    - gpm
    - elinks
    - mutt
    - nfs-utils
    - tcpdump
    - bind-utils
    - tar
    - at
    - zsh
    - libsemanage-python
    - policycoreutils-python
    - setools-console
    - cryptsetup
    - rsync
    - sudo
    - 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
    - util-linux-user
  when: ansible_distribution == "Fedora" and ansible_distribution_version|int >= 22


- name: Installation des paquets Fedora
  dnf: name={{ item }} state=present
  with_items:
    - tmux
    - htop
    - glances
    - iftop
    - bvi
    - whois
    - rpmconf
    - colordiff
    - mined
    - fpaste
    - wget
    - bash-completion
    - pbzip2
    - pxz
    - scapy
    - testdisk
    - steghide
    - yum-utils
    - docker
  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