Skip to content

Update templates to use the comment filter #195

@rahul0705

Description

@rahul0705

In both templates/mongodb.conf.j2 and templates/monogod_init.conf.j2 the top of the file has:

# {{ ansible_managed }}

This should be changed to:

{{ ansible_managed | comment }}

The reason for this change is, if ansible_managed is multi-lined the comment won't apply to everything, only the first line.

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