FAILED changed false msg state is mounted but all of the following are missing fstype

0 votes

Hi Guys,

I am trying to use the mount module in Ansible Playbook. But it is showing me the below error.

FAILED! => {"changed": false, "msg": "state is mounted but all of the following are missing: fstype"}

Sep 16, 2020 in Ansible by akhtar
• 38,170 points
324 views

1 answer to this question.

0 votes

Hi@akhtar,

You need to pass some more arguments in your mount module like fstype as shown in your error. You can match the below code with your playbook.

- name: Mount DVD read-only
  mount:
    path: /mnt/dvd
    src: /dev/sr0
    fstype: iso9660
    opts: ro,noauto
    state: present
answered Sep 16, 2020 by MD
• 95,160 points

Related Questions In Ansible

+15 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 26, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
1,064 views
+2 votes
1 answer
0 votes
1 answer

FAILED! => {"changed": false, "msg": "src and content are mutually exclusive"}

Hi@akhtar, You can't use content and src argument ...READ MORE

answered Aug 2, 2020 in Ansible by MD
• 95,160 points
573 views
0 votes
1 answer

FAILED! => {"changed": false, "msg": "Parameter 'description' is required."}

Hi@akhtar, You got this error because you did ...READ MORE

answered Aug 7, 2020 in Ansible by MD
• 95,160 points
213 views