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

Deprecated use of include #10

Closed
ghost opened this issue Mar 2, 2023 · 0 comments
Closed

Deprecated use of include #10

ghost opened this issue Mar 2, 2023 · 0 comments

Comments

@ghost
Copy link

ghost commented Mar 2, 2023

Received the following warning when using the playbook.

[DEPRECATION WARNING]: "include" is deprecated, use include_tasks/import_tasks instead. This feature 
will be removed in version 2.16. Deprecation warnings can be disabled by setting 
deprecation_warnings=False in ansible.cfg.

tasks/main.yml uses include based on the message this should be changed to include_tasks.

Other details

Ansible Version

% ansible-playbook --version
ansible-playbook [core 2.13.7]
  config file = /home/nhairs/git/finder/security/ansible/sec-apps/ansible.cfg
  configured module search path = ['/home/nhairs/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
  ansible python module location = /home/nhairs/.local/lib/python3.8/site-packages/ansible
  ansible collection location = /home/nhairs/.ansible/collections:/usr/share/ansible/collections:/home/nhairs/git/finder/security/ansible/sec-apps/collections
  executable location = /home/nhairs/.local/bin/ansible-playbook
  python version = 3.8.10 (default, Nov 14 2022, 12:59:47) [GCC 9.4.0]
  jinja version = 3.0.3
  libyaml = True

Lacework Role Version

  - src: alannix_lw.lacework_agent_ansible_role
    name: lacework
    version: v2.4.0
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

No branches or pull requests

1 participant