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

command-instead-of-module: systemctl used in place of systemd module #4088

Closed
audgirka opened this issue Apr 3, 2024 Discussed in #4086 · 0 comments · Fixed by #4087
Closed

command-instead-of-module: systemctl used in place of systemd module #4088

audgirka opened this issue Apr 3, 2024 Discussed in #4086 · 0 comments · Fixed by #4087
Assignees
Labels

Comments

@audgirka
Copy link
Contributor

audgirka commented Apr 3, 2024

Discussed in #4086

Originally posted by rclilly April 2, 2024
Three years ago this pull request was merged: #1544. It was supposed to allow the use of 'systemctl': ['set-default', 'show-environment'], etc. since the systemd module does not have that functionality. However, when I run ansible-lint against my playbook it's still flagging that with the message: command-instead-of-module: systemctl used in place of systemd module. Has that change been removed and the functionality added to the systemd module? What is the recommended way to determine the default runlevel and to set it to the desired, e.g. systemctl set-default multi-user?

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

Successfully merging a pull request may close this issue.

1 participant