diff options
author | LUXEY Adrien <adrien.luxey@inria.fr> | 2021-03-14 15:49:08 +0100 |
---|---|---|
committer | LUXEY Adrien <adrien.luxey@inria.fr> | 2021-03-14 15:49:08 +0100 |
commit | 472384d4039d10dcfe1567b07f64ca6b1f8b744d (patch) | |
tree | a571fb9d375ffbdafb5325d592c27054a37f7a6b | |
parent | 24dcc096958799745a51abe06e2fe1712aaba940 (diff) | |
download | infrastructure-472384d4039d10dcfe1567b07f64ca6b1f8b744d.tar.gz infrastructure-472384d4039d10dcfe1567b07f64ca6b1f8b744d.zip |
premier tri des outils de base à installer via apt
-rw-r--r-- | os/config/cluster_nodes.yml | 2 | ||||
-rw-r--r-- | os/config/roles/common/tasks/main.yml | 43 |
2 files changed, 26 insertions, 19 deletions
diff --git a/os/config/cluster_nodes.yml b/os/config/cluster_nodes.yml index ea58630..0f22baf 100644 --- a/os/config/cluster_nodes.yml +++ b/os/config/cluster_nodes.yml @@ -1,6 +1,8 @@ --- - hosts: cluster_nodes + # "you can define how many hosts Ansible should manage at a single time + # using the serial keyword" serial: 1 roles: - role: common diff --git a/os/config/roles/common/tasks/main.yml b/os/config/roles/common/tasks/main.yml index b4d00bb..f31b2c3 100644 --- a/os/config/roles/common/tasks/main.yml +++ b/os/config/roles/common/tasks/main.yml @@ -15,30 +15,35 @@ - name: "Install base tools" apt: name: - - vim - - htop - - screen - - iptables - - iptables-persistent - - nftables - - iproute2 + # Essentials - curl - - iputils-ping - - dnsutils + - less + - sudo + - tar + - unzip + # User tooling + - screen + - vim + # Monitoring - bmon + - htop - iftop + - iputils-ping - iotop - - docker.io - - unzip - - tar - - tcpdump - - less - - parted - - btrfs-tools - - libnss-resolve - - net-tools - strace - - sudo + - tcpdump + # Networking + - iproute2 # advanced net-tools + - iptables # legacy firewall (still used by diplonat) + - iptables-persistent + - net-tools # basic network tools + - nftables # iptables' successor (will replace it eventually) + - dnsutils # now called bind9-dnsutils + # Optional / Dispensable + #- docker.io # Adrien n'approuve pas (il faut utiliser le repo Docker) + - parted + #- btrfs-tools + #- libnss-resolve # provides DNS/LLMNR utilities via systemd-resolved state: present - name: "Passwordless sudo" |