- name: install required software hosts: wireguard become: yes tasks: - name: install wireguard tools dnf: name: - wireguard-tools - conntrack-tools - iperf3 state: present