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,260 points
2,637 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,460 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 27, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
4,036 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,460 points
3,363 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,460 points
2,543 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP