--- - name: localdev configuration hosts: all tasks: - name: Install the packages for Fedora import_tasks: dnf.yml when: ansible_facts['os_family']|lower == 'redhat' - name: Install the packages for Debian import_tasks: apt.yml when: ansible_facts['os_family']|lower == 'debian' - name: Install the packages for Ubuntu import_tasks: apt.yml when: ansible_facts['os_family']|lower == 'ubuntu' - name: Install the packages for FreeBSD import_tasks: pkg.yml when: ansible_facts['os_family']|lower == 'freebsd' - name: Install rust via rustup import_tasks: rust.yml - name: Configure gnome-terminal profile import_tasks: gnome-terminal.yml