diff --git a/README.md b/README.md index b64958f..c2d3f23 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,7 @@ This variable is a list of packages, with their name, desired version and state. Dependencies ------------ -This role has a task that installs its own dependencies located in `task/prerequisites.yml`, so that you don't need to manage them. This role requires `ednxzu.manage_apt_packages` to install python3 and pip. If you already installed python and pip, you can skip dependencies by setting `manage_pip_packages_install_prereqs` to `false`. +`ednxzu.manage_apt_packages` to install python3 and pip (if selected). Example Playbook ---------------- diff --git a/tasks/prerequisites.yml b/tasks/prerequisites.yml index 9d7ddd9..e9b74b2 100644 --- a/tasks/prerequisites.yml +++ b/tasks/prerequisites.yml @@ -1,14 +1,5 @@ --- # task/prerequisites file for manage_pip_packages -- name: "Install required roles" - ansible.builtin.command: - cmd: "ansible-galaxy install {{ item }}" - loop: "{{ manage_pip_packages_prerequisites_roles }}" - changed_when: false - become: false - delegate_to: localhost - run_once: true - - name: "Install python3 and pip" ansible.builtin.include_role: name: ednxzu.manage_apt_packages diff --git a/vars/main.yml b/vars/main.yml index f84c530..5c50282 100644 --- a/vars/main.yml +++ b/vars/main.yml @@ -1,7 +1,5 @@ --- # vars file for manage_pip_packages -manage_pip_packages_prerequisites_roles: - - ednxzu.manage_apt_packages manage_pip_packages_required_packages: - name: python3 version: latest