From d23b76dcf73c17fb7d059f8f0cc6398a47365e5d Mon Sep 17 00:00:00 2001 From: Fernando Schauenburg Date: Thu, 17 Dec 2020 20:18:34 +0100 Subject: [PATCH] ansible: fix ssh role syntax for consistency --- roles/ssh/tasks/main.yml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/roles/ssh/tasks/main.yml b/roles/ssh/tasks/main.yml index 3977b50..7b88b07 100644 --- a/roles/ssh/tasks/main.yml +++ b/roles/ssh/tasks/main.yml @@ -1,12 +1,13 @@ - name: Create the SSH directory file: - path: ~/.ssh - state: directory + path: ~/.ssh + state: directory + - name: Deploy SSH config file: - src: "{{ role_path }}/files/config" - dest: ~/.ssh/config - state: link - force: yes + src: "{{ role_path }}/files/config" + dest: ~/.ssh/config + state: link + force: yes