Exclude FreeBSD for now.
This commit is contained in:
parent
01b0fb21df
commit
9137f6b762
@ -7,6 +7,7 @@
|
|||||||
state: directory
|
state: directory
|
||||||
mode: '0755'
|
mode: '0755'
|
||||||
|
|
||||||
|
# Combine these to be blockinfile again
|
||||||
- name: General | Account Management | Mounts | Create 1337 fstab Entry
|
- name: General | Account Management | Mounts | Create 1337 fstab Entry
|
||||||
lineinfile:
|
lineinfile:
|
||||||
path: /etc/fstab
|
path: /etc/fstab
|
||||||
@ -14,6 +15,7 @@
|
|||||||
line: "ling@leet: /mnt/leet fuse.sshfs defaults,_netdev,allow_other,delay_connect 0 0"
|
line: "ling@leet: /mnt/leet fuse.sshfs defaults,_netdev,allow_other,delay_connect 0 0"
|
||||||
state: present
|
state: present
|
||||||
backup: yes
|
backup: yes
|
||||||
|
when: ansible_system = "Linux"
|
||||||
|
|
||||||
- name: General | Account Management | Mounts | Create 1337 fstab Comment
|
- name: General | Account Management | Mounts | Create 1337 fstab Comment
|
||||||
lineinfile:
|
lineinfile:
|
||||||
@ -22,8 +24,12 @@
|
|||||||
line: '# MANAGED BY ANSIBLE | Leet Share'
|
line: '# MANAGED BY ANSIBLE | Leet Share'
|
||||||
state: present
|
state: present
|
||||||
insertbefore: '^ling@leet'
|
insertbefore: '^ling@leet'
|
||||||
|
when: ansible_system = "Linux"
|
||||||
|
|
||||||
- name: General | Account Management | Mounts | Mount All
|
- name: General | Account Management | Mounts | Mount All
|
||||||
shell: mount -a
|
shell: mount -a
|
||||||
args:
|
args:
|
||||||
warn: false
|
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