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

Bump Ansible version_tested_max to 2.4.3.0 #945

Merged
merged 1 commit into from
Feb 1, 2018
Merged

Conversation

fullyint
Copy link
Contributor

@fullyint fullyint commented Feb 1, 2018

I found no adjustments needed to accommodate Ansible 2.4.3.0.

However, @runofthemill kindly pointed out a problem on vagrant up for various Ansible versions:

TASK [wordpress-install : Setup packagist.com authentication] ******************
 [WARNING]: Failure using method (v2_runner_item_on_skipped) in callback plugin
(<ansible.plugins.callback.output.CallbackModule object at 0x7f9cd2039150>):
'item'

This PR adds a fix for this cosmetic problem, enabling the replace_item_with_key() custom output method to handle tasks that use with_dict and no_log.

To avoid a long line, the fix uses a multiline conditional which can have funny formatting in python. I took the formatting approach here. However, the condition wouldn't be too terribly long on a single line, if preferred.

Also fix `replace_item_with_key()` custom output method to handle
tasks that use `with_dict` and `no_log`. Prevents errors such as:
 [WARNING]: Failure using method (v2_runner_item_on_skipped) in callback plugin
(<ansible.plugins.callback.output.CallbackModule object at 0x7f9cd2039150>):
'item'
@fullyint fullyint merged commit c8515b3 into master Feb 1, 2018
@fullyint fullyint deleted the ansible-2.4.3 branch February 1, 2018 06:09
primozcigler added a commit to proteusthemes/pt-ops that referenced this pull request Mar 13, 2018
* trellis/master:
  Ensure Diffie-Hellman group is generated for Let's Encrypt (roots#964)
  Fix raw_vars feature to properly handle int values (roots#959)
  Update Ansible default plugin paths in config files (roots#958)
  Add Nginx ssl.no-default.conf to drop requests for unknown hosts (roots#888)
  Disable memcached UDP support by default
  Git: Ignore `vagrant.local.yml`
  Add sponsors [ci skip]
  Set Vagrant's ansible compatibility_mode
  Check and stop php7.1-fpm service
  Update to PHP 7.2
  Fix failed_when in template_root check with wp-cli 1.5.0 (roots#948)
  Bump Ansible version_tested_max to 2.4.3.0 (roots#945)
  Update wp-cli to 1.5.0 (roots#944)
  Update `vagrant_box_version` to `>= 201801.02.0`
  Update `vagrant_box_version` to `<= 201801.02.0`
  Update Vagrant requirement to v2.0.1.
  Support for IPv6 in Letsencrypt challenges
  Allow Trellis VMs to be created/provisioned in Windows Subsystem for Linux.
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.

2 participants