Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: 'changed_when' is not a valid attribute for a TaskInclude in roles/splunk/tasks/configure_splunk_boot.yml' #40

Closed
ForsetiJan opened this issue Mar 1, 2021 · 1 comment · Fixed by #41

Comments

@ForsetiJan
Copy link
Contributor

ForsetiJan commented Mar 1, 2021

Minor mistake in configure_splunk_boot.yml.
We should remove the changed_when attribute.

    - name: Check if Splunk needs to be stopped if boot-start isn't configured as Ansible expects (or boot-start is not configured at all)
      include_tasks: check_splunk_status.yml
      when: >
        ((systemd_boot and splunk_use_initd) or
        (initd_boot.stat.exists and not splunk_use_initd) or
        (not systemd_boot and not initd_boot.stat.exists and not splunk_use_initd)
@mason-splunk
Copy link
Contributor

Fixed in v1.2.7 release. Thanks for the report!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants