--- # Debian server # Run first to install base software required for agnostic/main.yml # ------------------------------------------------------------------------------ - name: Configure debian/ubuntu server include_tasks: debian/main.yml when: ansible_os_family == "Debian" # Any server (OS agnostic) # ------------------------------------------------------------------------------ - name: Configure any server (OS agnostic) include_tasks: agnostic/main.yml