Repo sync can be disabled

This commit is contained in:
Sleuth 2022-11-08 15:02:59 -05:00
parent a474e4e03e
commit 413c8b4cec
1 changed files with 2 additions and 1 deletions

View File

@ -2,7 +2,8 @@
- name: Update APT repositories.
ansible.builtin.apt:
update_cache: yes
when: ansible_facts['os_family'] == "Debian"
when: ansible_facts['os_family'] == "Debian" and
pip_sync_repospip_sync_repos is true
- name: Ensure Pip is installed.
package: