From 0b980da34b5d12d3cae13d3563dafb38dd5cd8ae Mon Sep 17 00:00:00 2001 From: Erin Sims Date: Sat, 1 Oct 2022 07:48:06 -0400 Subject: [PATCH] working on changes, and debugging --- playbooks/sshfs.yaml | 18 +++--------------- 1 file changed, 3 insertions(+), 15 deletions(-) diff --git a/playbooks/sshfs.yaml b/playbooks/sshfs.yaml index 53f83a4..7b17e43 100644 --- a/playbooks/sshfs.yaml +++ b/playbooks/sshfs.yaml @@ -11,22 +11,10 @@ sshfsport: 22000 tasks: - name: sshfs - ansible.builtin.group: + apt: name: sshfs - state: present - - name: sshfs - ansible.builtin.user: - name: sshfs - state: present - group: sshfs - - name: make ssh home directory - file: - path: "/home/sshfs/.ssh/" - state: directory - owner: sshfs - group: sshfs - mode: '0700' - - name: copy private key + state: latest + - name: copy private key copy: src: "./sshfs-key" dest: "/root/.ssh/"