diff options
Diffstat (limited to 'os/config/roles/common/tasks/main.yml')
-rw-r--r-- | os/config/roles/common/tasks/main.yml | 25 |
1 files changed, 4 insertions, 21 deletions
diff --git a/os/config/roles/common/tasks/main.yml b/os/config/roles/common/tasks/main.yml index b332414..781e891 100644 --- a/os/config/roles/common/tasks/main.yml +++ b/os/config/roles/common/tasks/main.yml @@ -6,7 +6,7 @@ - name: "Upgrade system" apt: - upgrade: dist # Should we do a full uprade instead of a dist one? + upgrade: full update_cache: yes cache_valid_time: 3600 autoclean: yes @@ -34,18 +34,15 @@ - strace - tcpdump # Networking - - dnsutils # now called bind9-dnsutils (still valid) + - bind9-dnsutils - ethtool - 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) - # Optional / Dispensable - #- docker.io # Adrien n'approuve pas (il faut utiliser le repo Docker) + # Filesystems / Disk Utils - parted - #- btrfs-tools - #- libnss-resolve # provides DNS/LLMNR utilities via systemd-resolved state: present # Install Docker if need be @@ -62,20 +59,6 @@ include_tasks: docker.yml when: docker_exists.rc != 0 -# Install Nomad & Consul if need be - -- name: Check if Nomad is installed - command: 'which nomad' - args: - warn: no - register: nomad_exists - changed_when: nomad_exists.rc != 0 - ignore_errors: true - -- name: "Install Nomad & Consul" - include_tasks: hashicorp.yml - when: nomad_exists.rc != 0 - # Cool stuff - name: "Passwordless sudo" @@ -84,4 +67,4 @@ state: present regexp: '^%sudo' line: '%sudo ALL=(ALL) NOPASSWD: ALL' - validate: 'visudo -cf %s'
\ No newline at end of file + validate: 'visudo -cf %s' |