Good morning, I am sharing this for reference, in case someone else is also experiencing this too.
After cloning an existing project on a new macbook laptop, on running Trellis up command, I was experiencing this error:
TASK [ferm : ensure iptables INPUT rules are added] ****************************
fatal: [default]: FAILED! => {"msg": "invalid or malformed argument: ' '"}
Following this thread https://discourse.roots.io/t/provision-failing-at-ferm-ensure-iptables-input-rules-are-added/24875/7?u=yano1978 and applying changes of the pull request
seemed to have initially have solved the issue, but then provision was getting stuck on the
TASK [wordpress-install : Create web root of sites].
Not sure if it’s the best approach, (I am new at Trellis) but removing the , type: ‘nfs’ references from Vagrantfile as mentioned here https://discourse.roots.io/t/vagrant-reprovision-stuck-on-task-wordpress-install-change-site-owner-to-user/22723/4?u=yano1978
solved the issue for me, I hope it helps!
Ernesto