aboutsummaryrefslogtreecommitdiffstats
path: root/roles/workstation/tasks/ssh.yml
diff options
context:
space:
mode:
authorRomain Gonçalves <me@rgoncalves.se>2022-10-22 16:41:45 +0200
committerRomain Gonçalves <me@rgoncalves.se>2022-10-22 16:41:45 +0200
commit0df015e9b5c4aefd4245c94ee98021d2af80ed99 (patch)
treed9dbf4259500857daf41b627dbc2d116ba92dbc1 /roles/workstation/tasks/ssh.yml
parent1cd2d31e0d5f81ce066121de78c0ed042fc3b6aa (diff)
downloadrules-0df015e9b5c4aefd4245c94ee98021d2af80ed99.tar.gz
lint: pass ansible-lint + yamllint
Diffstat (limited to 'roles/workstation/tasks/ssh.yml')
-rw-r--r--roles/workstation/tasks/ssh.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/roles/workstation/tasks/ssh.yml b/roles/workstation/tasks/ssh.yml
index 318198e..d09c7f8 100644
--- a/roles/workstation/tasks/ssh.yml
+++ b/roles/workstation/tasks/ssh.yml
@@ -1,5 +1,5 @@
- name: create ssh directory
- file:
+ ansible.builtin.file:
path: "/home/{{ workstation_user }}/{{ item }}"
owner: "{{ workstation_user }}"
group: "{{ workstation_user }}"
@@ -10,7 +10,7 @@
- .ssh/config.d
- name: generate ssh configuration
- template:
+ ansible.builtin.template:
src: ssh.config.j2
dest: "/home/{{ workstation_user }}/.ssh/config.d/dns.config"
owner: "{{ workstation_user }}"
remember that computers suck.