pkg.upgrade: module.run: - refresh: True Installation de sudo: pkg.installed: - name: sudo iwanadm: user.present: - fullname: Iwan l'administrateur - shell: /bin/bash - home: /home/iwanadm - createhome: True - password: Gwladys+Ophelie+Aristide_ - hash_password: True - uid: 9876 - gid_from_name: True - optional_groups: - wheel - sudo Installation des outils Net-tools: pkg.installed: - name: net-tools Installation de less: pkg.installed: - name: less Installation du serveur SSH: pkg.installed: - name: openssh-server Installation des packages ElasticSearch OpenJDK: pkg.installed: - name: {{ pillar['installjdk'] }} Installation des packages ElasticSearch https-transport: pkg.installed: - name: {{ pillar['installtransport'] }}