-
-
Notifications
You must be signed in to change notification settings - Fork 607
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
Support Ansible 2.9 #1169
Merged
Merged
Support Ansible 2.9 #1169
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
swalkinshaw
force-pushed
the
ansible-2.9-support
branch
from
April 5, 2020 14:24
fb447a0
to
8f1a5e6
Compare
$ trellis provision production
TASK [wordpress-setup : Warn about deprecated Nginx includes directory] ********
System info:
Ansible 2.9.6; Darwin
Trellis version (per changelog): "Support Ansible 2.9"
---------------------------------------------------
The conditional check 'True in nginx_includes_templates.files |
map(attribute='path') | map('search', nginx_includes_deprecated |
regex_escape) | list' failed. The error was: no filter named 'search'
The error appears to be in '/xxx/roles/wordpress-
setup/tasks/nginx-includes.yml': line 13, column 3, but may
be elsewhere in the file depending on the exact syntax problem.
The offending line appears to be:
- name: Warn about deprecated Nginx includes directory
^ here
fatal: [111.222.333.444]: FAILED! => {} $ trellis exec ansible --version
ansible 2.9.6
config file = /xxx/trellis/ansible.cfg
configured module search path = ['/yyy/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
ansible python module location = /xxx/.trellis/virtualenv/lib/python3.7/site-packages/ansible
executable location = /xxx/.trellis/virtualenv/bin/ansible
python version = 3.7.7 (default, Mar 10 2020, 15:43:33) [Clang 11.0.0 (clang-1100.0.33.17)] Works fine on Ansible 2.8.10 $ trellis exec ansible --version
ansible 2.8.10
config file = /xxx/trellis/ansible.cfg
configured module search path = ['/yyy/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
ansible python module location = /xxx/.trellis/virtualenv/lib/python3.7/site-packages/ansible
executable location = /xxx/.trellis/virtualenv/bin/ansible
python version = 3.7.7 (default, Mar 10 2020, 15:43:33) [Clang 11.0.0 (clang-1100.0.33.17)] Ansible announcements related to the
See:
|
Also add ansible 2.9 tests on CircleCI, see: #1171 |
🤔 that's a tough one to fix since the suggestion won't work here. One idea is to just remove that deprecation now? It's been 3-4 years 😅 |
Agree |
Here it is: #1173 |
tangrufus
approved these changes
Apr 6, 2020
swalkinshaw
force-pushed
the
ansible-2.9-support
branch
from
April 6, 2020 14:15
c95d42b
to
67eee56
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.