Browse Source

working on changes, and debugging

master
Erin Sims 2 years ago
parent
commit
917bad6eed
1 changed files with 5 additions and 5 deletions
  1. +5
    -5
      playbooks/sshfs.yaml

+ 5
- 5
playbooks/sshfs.yaml View File

@@ -34,7 +34,7 @@
group: sshfs group: sshfs
mode: '0700' mode: '0700'
notify: notify:
- name: SSHFS
- SSHFS
- name: copy ssh config - name: copy ssh config
copy: copy:
src: "./ssh-config" src: "./ssh-config"
@@ -43,7 +43,7 @@
group: sshfs group: sshfs
mode: '0700' mode: '0700'
notify: notify:
- name: SSHFS
- SSHFS
- name: "sshfs mount {{ item }}" - name: "sshfs mount {{ item }}"
file: file:
path: "{{ localpath}}{{ item }}/" path: "{{ localpath}}{{ item }}/"
@@ -53,7 +53,7 @@
mode: '0777' mode: '0777'
loop: "{{ share }}" loop: "{{ share }}"
notify: notify:
- name: SSHFS
- SSHFS
- name: setup service sshfs - name: setup service sshfs
template: template:
src: sshfs.service.j2 src: sshfs.service.j2
@@ -63,7 +63,7 @@
group: root group: root
loop: "{{ share }}" loop: "{{ share }}"
notify: notify:
- name: SSHFS
- SSHFS
- name: "sshfs {{ item }} service start" - name: "sshfs {{ item }} service start"
systemd: systemd:
name: "sshfs-{{ item }}" name: "sshfs-{{ item }}"
@@ -75,6 +75,6 @@
handlers: handlers:
- name: SSHFS - name: SSHFS
ansible.builtin.service: ansible.builtin.service:
name: sshfs {{ item }} service start"
name: sshfs {{ item }} service restart"
state: restarted state: restarted
loop: "{{ share }}" loop: "{{ share }}"

Loading…
Cancel
Save