diff --git a/tasks/configure_ovh.yml b/tasks/configure_ovh.yml index 6980045..62d1f6f 100644 --- a/tasks/configure_ovh.yml +++ b/tasks/configure_ovh.yml @@ -22,7 +22,7 @@ record_ttl: 10 append: true loop: "{{ key_file['results'] }}" - delegate_to: localhost + delegate_to: ovh_management[0] when: - "'.local' not in item['item']" - item['item'] | regex_findall('\.') | length == 1