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

replace deprecated options and small code cleanup #62

Closed
wants to merge 1 commit into from
Closed

replace deprecated options and small code cleanup #62

wants to merge 1 commit into from

Conversation

tcraxs
Copy link

@tcraxs tcraxs commented Jul 19, 2019

I fix the following deprecation warnings:

TASK [jenkins : Install OS Dependencies]
[DEPRECATION WARNING]: Invoking "apt" only once while using a loop via
squash_actions is deprecated. Instead of using a loop to supply multiple items
and specifying `name: "{{ item }}"`, please use `name: ['apt-transport-https']`
and remove the loop. This feature will be removed in version 2.11.
[DEPRECATION WARNING]: State 'installed' is deprecated. Using state 'present'
instead.. This feature will be removed in version 2.9.

TASK [jenkins : Update Plugins]
[DEPRECATION WARNING]: evaluating jenkins_plugins_update as a bare variable,
this behaviour will go away and you might need to add |bool to the expression
in the future. Also see CONDITIONAL_BARE_VARS configuration toggle.. This
feature will be removed in version 2.12.

TASK [jenkins : Configure Jenkins (Miscellaneous Settings)]
[DEPRECATION WARNING]: Using tests as filters is deprecated. Instead of using
`result|success` use `result is success`. This feature will be removed in
version 2.9.

TASK [jenkins : Configure Security Recommendations] 
[DEPRECATION WARNING]: Using tests as filters is deprecated. Instead of using
`result|success` use `result is success`. This feature will be removed in
version 2.9.
  • also fix some old syntax and whitespace

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

Successfully merging this pull request may close these issues.

None yet

1 participant