Fix 1337 mount.
This commit is contained in:
parent
1dc72fc2d4
commit
a8714aea01
@ -8,17 +8,6 @@
|
|||||||
mode: '0755'
|
mode: '0755'
|
||||||
|
|
||||||
|
|
||||||
# Linux uses fstab
|
|
||||||
- name: General | Account Management | Mounts | Create 1337 fstab Entry
|
|
||||||
blockinfile:
|
|
||||||
path: /etc/fstab
|
|
||||||
block: |
|
|
||||||
ling@leet: /mnt/leet fuse.sshfs defaults,_netdev,allow_other,delay_connect 0 0
|
|
||||||
marker: '# {mark} MANAGED BY ANSIBLE | Leet Share'
|
|
||||||
state: present
|
|
||||||
backup: yes
|
|
||||||
when: ansible_system == "Linux"
|
|
||||||
|
|
||||||
#TODO Remove this
|
#TODO Remove this
|
||||||
- name: General | Account Management | Mounts | Create 1337 fstab Comment
|
- name: General | Account Management | Mounts | Create 1337 fstab Comment
|
||||||
lineinfile:
|
lineinfile:
|
||||||
@ -38,6 +27,17 @@
|
|||||||
state: absent
|
state: absent
|
||||||
backup: yes
|
backup: yes
|
||||||
when: ansible_system == "Linux"
|
when: ansible_system == "Linux"
|
||||||
|
|
||||||
|
# Linux uses fstab
|
||||||
|
- name: General | Account Management | Mounts | Create 1337 fstab Entry
|
||||||
|
blockinfile:
|
||||||
|
path: /etc/fstab
|
||||||
|
block: |
|
||||||
|
ling@leet: /mnt/leet fuse.sshfs defaults,_netdev,allow_other,delay_connect 0 0
|
||||||
|
marker: '# {mark} MANAGED BY ANSIBLE | 1337 Share'
|
||||||
|
state: present
|
||||||
|
backup: yes
|
||||||
|
when: ansible_system == "Linux"
|
||||||
|
|
||||||
- name: General | Account Management | Mounts | Mount All (Linux)
|
- name: General | Account Management | Mounts | Mount All (Linux)
|
||||||
shell: mount -a
|
shell: mount -a
|
||||||
|
Loading…
x
Reference in New Issue
Block a user