Use double equal. Work has me so spoiled.

This commit is contained in:
Hyperling 2021-02-03 12:52:08 -06:00
parent 9137f6b762
commit 95024e6400

View File

@ -15,7 +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" when: ansible_system == "Linux"
- name: General | Account Management | Mounts | Create 1337 fstab Comment - name: General | Account Management | Mounts | Create 1337 fstab Comment
lineinfile: lineinfile:
@ -24,12 +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" 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" when: ansible_system == "Linux"
# Add @reboot cron job for FreeBSD, fstab does not like fuse or sshfs as mount type # Add @reboot cron job for FreeBSD, fstab does not like fuse or sshfs as mount type