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

Remove deprecated include for static tasks and use instead import_tasks fix #131 #132

Merged
merged 4 commits into from
Jan 31, 2018

Conversation

HelioCampos
Copy link
Contributor

This PR removes the warning messages given by ansible 2.4.0 regarding the deprecation of the "include:" directive and uses the recommended new directive to include static tasks "import_tasks". It fixes #131

@rndmh3ro
Copy link
Member

Thanks foru the PR!
Ansible 2.4.0 isn't released yet, and import_tasks does not exist in 2.3.
So we'll have to wait until Ansible 2.4 is released and available in all major repositories.

@rndmh3ro rndmh3ro added this to the Ansible 2.4.0 milestone Jul 16, 2017
@rndmh3ro
Copy link
Member

rndmh3ro commented Oct 5, 2017

Ansible is still 2.3.0 in Centos 6, so we have to wait for it.

@rndmh3ro
Copy link
Member

Hey @HelioCampos,
Ansible 2.4 is out now since some time and I'd like to merge it. There are two small remaining issues:

Thanks!

@rndmh3ro rndmh3ro merged commit 81ba398 into dev-sec:master Jan 31, 2018
@rndmh3ro
Copy link
Member

I rebased and merged, thanks! :)

rndmh3ro added a commit that referenced this pull request Jul 24, 2020
Added support for AuthorizedKeysFile config setting
divialth pushed a commit to divialth/ansible-collection-hardening that referenced this pull request Aug 3, 2022
Added support for AuthorizedKeysFile config setting
divialth pushed a commit to divialth/ansible-collection-hardening that referenced this pull request Aug 3, 2022
Remove deprecated include for static tasks and use instead import_tasks fix dev-sec#131
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.

Warning about "include" for tasks for ansible-playbook 2.4.0 (devel f0a5854e39)
2 participants