--- - name: ensure tor exists apt: name: tor state: present - name: ensure tor is started and enabled systemd: name: tor state: started enabled: True