dear all:
fatal: [192.168.1.120]: FAILED! => {
"changed": false,
"invocation": {
"module_args": {
"dump": "0",
"fstype": "nfs",
"opts": "defaults,nobootwait",
"passno": "2",
"path": "/nfs",
"sate": "mounted",
"src": "192.168.1.146/share/share"
}
},
"msg": "Unsupported parameters for (mount) module: sate Supported
parameters include: backup, boot, dump, fstab, fstype, opts, passno, path,
src, state"
}
i don't know why unsupported mount module
my ansible
---
- hosts: all
gather_facts: no
become: yes
tasks:
- name: Ensure NFS Common is installed
apt: name=nfs-common update_cache=yes
- name: Create mountable dir
file: path=/nfs state=directory mode=777 owner=sandy group=sandy
- name: set mountpoints
mount:
path=/nfs
src=192.168.1.146/share/share
fstype=nfs
opts=defaults,nobootwait
dump=0
passno=2
sate=mounted
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/ea6594b2-fe17-4f2f-9f91-07df91dfcbe6%40googlegroups.com.