Skip to content

Remove squashfs module failure #101

@asimion-atlassian

Description

@asimion-atlassian

Describe the bug
When running the role Remove squashfs module, the job fails because it reports that Module squashfs is builtin and cannot be removed.

TASK [Ubuntu1804-CIS : SCORED | 1.1.1.6 | PATCH | Remove squashfs module] ******
build 07-Oct-2021 19:44:24 1633635864,,ui,message, base-ami: fatal: [default]: FAILED! => {"changed": false%!(PACKER_COMMA) "msg": "modprobe: FATAL: Module squashfs is builtin.\n"%!(PACKER_COMMA) "name": "squashfs"%!(PACKER_COMMA) "params": ""%!(PACKER_COMMA) "rc": 1%!(PACKER_COMMA) "state": "absent"%!(PACKER_COMMA) "stderr": "modprobe: FATAL: Module squashfs is builtin.\n"%!(PACKER_COMMA) "stderr_lines": ["modprobe: FATAL: Module squashfs is builtin."]%!(PACKER_COMMA) "stdout": ""%!(PACKER_COMMA) "stdout_lines": []}

To Reproduce
Steps to reproduce the behavior:
Run Install Ubuntu1804-CIS on a debian server using Ansible 4.6

Expected behavior
If the squashfs module is now built in, ansible disregard the module.

Software (please complete the following information):

  • Ansible Version: 4.6
  • Role/Repo Version Master

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions