madprogramer / datashield-ansible-deploy

Ansible Playbook for Installing/Updating DataSHIELD servers
GNU General Public License v3.0
0 stars 0 forks source link

Error on Opal - Configure Port / Unsupported parameters for (lineinfile) module: search_string #6

Closed madprogramer closed 1 year ago

madprogramer commented 1 year ago

TASK [Opal - Configure Port] *** fatal: [machine]: FAILED! => {"changed": false, "msg": "Unsupported parameters for (lineinfile) module: search_string Supported parameters include: attributes, backrefs, backup, create, firstmatch, group, insertafter, insertbefore, line, mode, owner, path, regexp, selevel, serole, setype, seuser, state, unsafe_writes, validate"}

This module was added fairly recently in ansible-core 2.11. We should simply have this as a system requirement. https://docs.ansible.com/ansible/latest/collections/ansible/builtin/lineinfile_module.html#parameter-search_string