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

Supports --check mode #93

Merged
merged 1 commit into from Jul 16, 2016
Merged

Supports --check mode #93

merged 1 commit into from Jul 16, 2016

Conversation

conorsch
Copy link
Contributor

By setting always_run=true on a few read-only tasks that are used to
register variables, we add support for dry runs of the role via the
--check flag to ansible-playbook. The role now completes without error
in dry-run mode, which is very useful when onboarding new hosts to the
role.

By setting always_run=true on a few read-only tasks that are used to
register variables, we add support for dry runs of the role via the
--check flag to ansible-playbook. The role now completes without error
in dry-run mode, which is very useful when onboarding new hosts to the
role.
@rndmh3ro rndmh3ro merged commit e436ebe into dev-sec:master Jul 16, 2016
@rndmh3ro
Copy link
Member

Thanks, good idea.

rndmh3ro added a commit that referenced this pull request Jul 24, 2020
Replace deprecated always_run with check_mode
divialth pushed a commit to divialth/ansible-collection-hardening that referenced this pull request Aug 3, 2022
Replace deprecated always_run with check_mode
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants