diff options
Diffstat (limited to 'roles/relayd')
-rw-r--r-- | roles/relayd/handlers/main.yml | 2 | ||||
-rw-r--r-- | roles/relayd/tasks/main.yml | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/roles/relayd/handlers/main.yml b/roles/relayd/handlers/main.yml index 82be0a8..5bc6b49 100644 --- a/roles/relayd/handlers/main.yml +++ b/roles/relayd/handlers/main.yml @@ -1,2 +1,2 @@ - name: lint relayd configuration - command: "relayd -nf {{ relayd_configuration_file }}" + ansible.builtin.command: "relayd -nf {{ relayd_configuration_file }}" diff --git a/roles/relayd/tasks/main.yml b/roles/relayd/tasks/main.yml index 3af5756..0396789 100644 --- a/roles/relayd/tasks/main.yml +++ b/roles/relayd/tasks/main.yml @@ -1,5 +1,5 @@ - name: generate relayd configuration - template: + ansible.builtin.template: src: relayd.conf.j2 dest: "{{ relayd_configuration_file }}" owner: 0 @@ -8,7 +8,7 @@ notify: lint relayd configuration - name: enable and restart relayd - service: + ansible.builtin.service: name: relayd state: restarted enabled: true |