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

sap-integration config resulting Travis tests failing #2258

Open
prakhar1985 opened this issue Jul 30, 2020 · 0 comments
Open

sap-integration config resulting Travis tests failing #2258

prakhar1985 opened this issue Jul 30, 2020 · 0 comments

Comments

@prakhar1985
Copy link
Collaborator

Describe the bug
sap-integration config is using a role in ansible/configs/sap-integration/requirements.yml

  version: v1.0```

This role has a playbook `https://github.com/linux-system-roles/sap-hana-preconfigure/blob/master/tasks/RedHat/configuration.yml`

which has 

`include` module which is been deprecated in Ansible Engine 2.4.


**To Reproduce**
Create a new PR which will result travis test failed. 

**Expected behavior**
Travis should pass all tests. 

**Screenshots / logs**
```running ansible_syntax
############################################################
Ansible Deprecation Checks
Error: The `include` directive is deprecated in Ansible 2.4.
https://github.com/ansible/ansible/blob/devel/CHANGELOG.md
  File: /home/travis/build/redhat-cop/agnosticd/tests/static/../../ansible/configs/sap-integration/roles/sap-hana-preconfigure/tasks/RedHat/configuration.yml
  Found: "include: {{ './' + ansible_distribution + '_' + ansible_distribution_major_version + '/recommendations.yml' }}"
Error: The `include` directive is deprecated in Ansible 2.4.
https://github.com/ansible/ansible/blob/devel/CHANGELOG.md
  File: /home/travis/build/redhat-cop/agnosticd/tests/static/../../ansible/configs/sap-integration/roles/sap-hana-preconfigure/tasks/SLES/configuration.yml
  Found: "include: {{ './' + ansible_distribution + ansible_distribution_major_version + '/recommendations.yml' }}"
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