Exclude FreeBSD for now.
This commit is contained in:
parent
01b0fb21df
commit
9137f6b762
@ -7,6 +7,7 @@
|
||||
state: directory
|
||||
mode: '0755'
|
||||
|
||||
# Combine these to be blockinfile again
|
||||
- name: General | Account Management | Mounts | Create 1337 fstab Entry
|
||||
lineinfile:
|
||||
path: /etc/fstab
|
||||
@ -14,6 +15,7 @@
|
||||
line: "ling@leet: /mnt/leet fuse.sshfs defaults,_netdev,allow_other,delay_connect 0 0"
|
||||
state: present
|
||||
backup: yes
|
||||
when: ansible_system = "Linux"
|
||||
|
||||
- name: General | Account Management | Mounts | Create 1337 fstab Comment
|
||||
lineinfile:
|
||||
@ -22,8 +24,12 @@
|
||||
line: '# MANAGED BY ANSIBLE | Leet Share'
|
||||
state: present
|
||||
insertbefore: '^ling@leet'
|
||||
when: ansible_system = "Linux"
|
||||
|
||||
- name: General | Account Management | Mounts | Mount All
|
||||
shell: mount -a
|
||||
args:
|
||||
warn: false
|
||||
when: ansible_system = "Linux"
|
||||
|
||||
# Add @reboot cron job for FreeBSD, fstab does not like fuse or sshfs as mount type
|
||||
|
Loading…
x
Reference in New Issue
Block a user