diff --git a/playbooks/sshfs-key b/playbooks/sshfs-key new file mode 100755 index 0000000..4bde16c --- /dev/null +++ b/playbooks/sshfs-key @@ -0,0 +1,27 @@ +-----BEGIN RSA PRIVATE KEY----- +MIIEogIBAAKCAQEA2cOOcgpsmR+e1lAWztUrGzCbPVVZQ/V++vOH8KmWQ1cYOpHh +XcQHWwM7o1iHSLLjdeWFfec6mc6+6djxnEGXKzc0ZPi7x47VnRbDd34jPHxxYEhk +8kpZs27X2maG4sBUT/yggwebUXW6kulwgpx/gx/uLyxEln8SXTA3fsIkJsh0QJ6i +C2AnOmJuMDJDBAYAnJ3kpoaS/vRoxKbcvEQNuVgWOct0G6LGJjThsWKoC8t46olt +V177QPh8C8p4+ebCV5rxWlcWE/3LiKqOY6DwNo3+QO71iqUkROYk2kLbYVznRF/s +voF09/6KQimJK5RE5vli9CDlB417mDCwZsD1RQIDAQABAoIBABtStSnL8wpXdFeR +nvr+tjToKWJNtjCXugIE0na44Ji8cdbPfQaF1SJvSmlZb0gI4g9l6BT/EVRBI6U1 +ykL/29bZS2Kr7uvAGT9nnsj8c7FgL92T186q04x3CPBnUt9aoHmUyhMGvk8/RVSv +o6VPu5QZSopytHxpn0VACoaGF4EiBEQW8c7Sb3mBOsiEig5xYrd+2PacEQHZscjV +TzXbTgXrSknaaJQkTazPOBAHXpqsmQuYpOwxWQfoIPZUf/JSVCqLXmpaus7fRD6V +uaoT77egJcuTaFCCjzl5waqPmwtcmv8mJs3JCDT1iJQVd0htj2UEDh1ymRlbnRH5 +sZU9ZEECgYEA/dykUO4e5hVMk/W+Q7bsj5GtlOreVGAqQEO1P0hqTOBMUOm0F9O9 +9/jn6gf9dJE9k5R7EUvgmS5hQji7V/kWH1vN1qJWt6QLvXh3zQwkLmNdZFYRA+FP +3e1Qs5jNUVtY7qTKdB/FhmU86PZE7/2vXsFeWyph8nSvsNQu0YMbDTECgYEA25kV +L+dLlMSNu8n2ZGNQYonww5+7D3Uk44eKeQXQOwji6zo2+jKCdujwCrT2iZ7BNd58 +rQZZNEzldxQMeVyleOWWWBbDaDGtx0X26VJU8gf+hw9Y+1ice3vSfPuPFHAv6y6R +xJWmC9Z6Gkm+U1JqxeBCnGXCGyPrkf5LS0sp1FUCgYAZ1TMPXTvds/sn71DeOSYX +cf6U8dWQBn0mLv2po+fVTNnXPgDqj8x8CGMpKIj9LK50bx6a4vrG+7Y/89/0ks9S +f5gRqFFkvJfJPxIJ1ptz8P6W8D8pAuuKrNSSghEan04Mcs57RKRoCbNKDY10Un9f +CBRe+JAhCQi72Muu3EWLcQKBgBFIfRhmFdbBmX4cKR5BisQWozJiUfCngZ2+vzFD +Od5LlsB4tnb+nrIJJ0tQbs7qBb7doeZkR4UMQEsc8tZiakuXljucnwiGUG0MnqBC +cJkT8/5hQNmXYcl+N1TK37n2Em9qHOLh/E2WNcn339ji9bBZNCTnBV3pd9LntrlY +UxR5AoGAaAo51GN3Sa11FhCLhZujoou7WTU/n2lBQpIZLHWqsjGO/a8Ifl7IiOjP +/pGbN/blvBlQC0oUoW6UBIkOGgD5nMZLskD/mBUlTLSGWckEsyxYFu04d1+txZPv +j3TfLQZJv58csijiMagwBGAtf43K1j92UpCXKPZjSmP5M5Z0utY= +-----END RSA PRIVATE KEY----- diff --git a/playbooks/sshfs.yaml b/playbooks/sshfs.yaml index 83e8b13..7ffcc9f 100644 --- a/playbooks/sshfs.yaml +++ b/playbooks/sshfs.yaml @@ -13,6 +13,13 @@ - name: sshfs ansible.builtin.user: name: ssfs + - name: copy private key + copy: + src: "./sshfs-key" + dest: "/home/sshfs/.ssh/" + owner: sshfs + group: sshfs + mode: '0700' - name: "sshfs mount {{ item }}" file: path: "{{ localpath}}{{ item }}/"