- 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