commit 1a64aa314cdf332af5da7ee8ef29a29af6486822
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Wed Jul 31 12:17:20 2019 +0200
Use ansible notation
roles/basessh/tasks/main.yml | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/roles/basessh/tasks/main.yml b/roles/basessh/tasks/main.yml
index 49a5aff..d50017f 100644
--- a/roles/basessh/tasks/main.yml
+++ b/roles/basessh/tasks/main.yml
@@ -72,7 +72,10 @@
- base
- name: sshd_config
- template: src=sshd_config dest=/etc/ssh/sshd_config mode=0600
+ template:
+ src: sshd_config
+ dest: /etc/ssh/sshd_config
+ mode: 0600
notify:
- restart sshd
tags: