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

[DEPRECATION WARNING]: Skipping task due to undefined attribute #270

Open
khromov opened this issue Feb 14, 2016 · 6 comments
Open

[DEPRECATION WARNING]: Skipping task due to undefined attribute #270

khromov opened this issue Feb 14, 2016 · 6 comments

Comments

@khromov
Copy link

khromov commented Feb 14, 2016

Getting these errors on first-run vagrant up . Is this anything to worry about and does it break the deploy?

==> default: TASK [php : Install Package] ***************************************************
==> default: [DEPRECATION WARNING]: Skipping task due to undefined attribute, in the future
==> default: this will be a fatal error.. This feature will be removed in a future release.
==> default: Deprecation warnings can be disabled by setting deprecation_warnings=False in
==> default: ansible.cfg.
==> default:
==> default: TASK [php : Create extension .ini file] ****************************************
==> default: [DEPRECATION WARNING]: Skipping task due to undefined attribute, in the future
==> default: this will be a fatal error.. This feature will be removed in a future release.
==> default: Deprecation warnings can be disabled by setting deprecation_warnings=False in
==> default: ansible.cfg.
==> default:
==> default: TASK [php : Enable extension] **************************************************
==> default: [DEPRECATION WARNING]: Skipping task due to undefined attribute, in the future
==> default: this will be a fatal error.. This feature will be removed in a future release.
==> default: Deprecation warnings can be disabled by setting deprecation_warnings=False in
==> default: ansible.cfg.
@naxhh
Copy link
Contributor

naxhh commented Feb 15, 2016

Hi! It shouldn't break your deploy since it's a Warning and not a fatal error.
@khromov just to know, which version of ansible are you using?

But this require us to update the php module to not get the deprecation warning.
For people interested in contributing:

Seems this is related to php role in the pecl section.
https://github.com/phansible/role-php/blob/5e48f73189c10f16644f0120899bc94978579ffa/tasks/pecl.yml#L5

It should be as easy as checking the new documentation and adding the required params

@khromov
Copy link
Author

khromov commented Feb 15, 2016

@naxhh It's a 14.04 deployed on Windows, so it uses windows.sh. The version you get from the apt-get command is 2.0.0.2 currently.

@naxhh
Copy link
Contributor

naxhh commented Feb 15, 2016

ansible client version :p

ansible --version

@khromov
Copy link
Author

khromov commented Feb 15, 2016

Should be right!

vagrant ssh
...
vagrant@vagrant-ubuntu-trusty-64:~$ ansible --version
ansible 2.0.0.2
  config file = /etc/ansible/ansible.cfg
  configured module search path = Default w/o overrides

@naxhh
Copy link
Contributor

naxhh commented Feb 16, 2016

Ok thanks! So the warnings are due to 2.0 version. We will be cleaning this warnings, thanks for reporting

@debo
Copy link
Member

debo commented Feb 16, 2016

Hey guys, sorry for the delay guys, I had a busy weekend, I'll start following up with the pending issues tonight. And yes it's more a warning about what to expect in future from ansible 2.0 which means we need to update the role accordingly as required moving forward.

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

No branches or pull requests

3 participants