--- - name: restart local_unbound service: name: local_unbound state: stopped become: true notify: start local_unbound - name: start local_unbound service: name: local_unbound state: started become: true - name: restart dhclient service: name: dhclient state: stopped become: true notify: start dhclient - name: start dhclient service: name: dhclient state: started become: true - name: load the bt modules service: name: "{{ module }}" state: started become: true loop_control: loop_var: module loop: - sdpd - hpsecd - name: new aliases become: true command: newaliases