parrot-build icon indicating copy to clipboard operation
parrot-build copied to clipboard

Updated README.md & fixed ansible.builtin.include..

Open 0xjv opened this issue 1 year ago • 0 comments

I've updated the README: Latest Debian releases will no longer allow pip install outside of a venv: You can still force it via pip install --break-system-packages if needed.

ERROR! [DEPRECATED]: ansible.builtin.include has been removed. This feature was removed from ansible-core in a release after 2023-05-16. Please update your playbooks.

Replaced include with include_tasks..

First grep it:

➜ grep -HRn ' include:' *                           
roles/install-tools/tasks/main.yml:2:- include: apt-stuff.yml
roles/install-tools/tasks/main.yml:3:- include: kerbrute.yml
roles/install-tools/tasks/main.yml:4:- include: github-repos.yml
roles/install-tools/tasks/main.yml:5:- include: python-tools.yml
roles/install-tools/tasks/main.yml:6:- include: gem-tools.yml
roles/configure-system/tasks/main.yml:2:- include: "configure-sudoers.yml"
roles/customize-browser/tasks/main.yml:2:- include: "burp.yml"
roles/customize-browser/tasks/main.yml:3:- include: "firefox.yml"
roles/configure-logging/tasks/main.yml:2:- include: "ufw.yml"
roles/configure-logging/tasks/main.yml:3:- include: "auditd.yml"

Manually, you can replace it with:

➜ sed -i 's/include/include_tasks/g' roles/*/tasks/*.yml

0xjv avatar May 15 '24 13:05 0xjv