본문 바로가기
iac & provisioning/ansible

[Ansible] error - ERROR! couldn't resolve module/action 'mount'

by seohan1010 2024. 5. 21.

 

 

 

 

ansible playbook에 mount 모듈을 선언했는데 

 

 

 

 

위와 같은 에러가 발생했다. 

 

 

 

 

ansible-galaxy collection install ansible.posix 

명령어를 입력해서 mount 모듈을 설치해준다. 

 

 

 

 

모듈 설치후 palybook 체크 성공 

 

 

 

 

자세한 내용은 아래의 글을 참고하였음

 

https://stackoverflow.com/questions/66335800/error-couldnt-resolve-module-action-this-often-indicates-a-misspelling-miss

 

ERROR! couldn't resolve module/action . This often indicates a misspelling, missing collection, or incorrect module path

I've got an Ansible Collections in my Ansible playbook as follows: - name: Create a profile for the user community.windows.win_user_profile: username: test name: test state: present ...

stackoverflow.com