1
0
Fork 0
mirror of https://github.com/roles-ansible/ansible_role_ntp.git synced 2024-08-16 12:59:49 +02:00

Try to not handle apt cache

This commit is contained in:
Lilian Roller 2020-01-16 18:50:20 +01:00
parent b4d9294853
commit 96a1ad3d2c
No known key found for this signature in database
GPG key ID: 5215C3441797AB2B
2 changed files with 0 additions and 16 deletions

View file

@ -1,21 +1,6 @@
---
# Tasks file for install ntp daemon on Linux system
- name: install apt support on debian
become: yes
package:
name: python3-apt
state: present
changed_when: false
when: ansible_os_family == "Debian"
- name: Update apt cache on Debian Family os
become: yes
apt:
update_cache: yes
changed_when: false
when: ansible_os_family == "Debian"
- name: Update emerge cache on Gentoo
become: yes
shell: emerge-webrsync

View file

@ -18,7 +18,6 @@ deps =
ansible29: ansible==2.9
ansiblelatest: ansible
commands =
pip3 install python-apt;
ansible-playbook .ansible-test.yml -i localhost
setenv =
TOX_ENVNAME={envname}