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:
parent
b4d9294853
commit
96a1ad3d2c
2 changed files with 0 additions and 16 deletions
|
@ -1,21 +1,6 @@
|
||||||
---
|
---
|
||||||
# Tasks file for install ntp daemon on Linux system
|
# 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
|
- name: Update emerge cache on Gentoo
|
||||||
become: yes
|
become: yes
|
||||||
shell: emerge-webrsync
|
shell: emerge-webrsync
|
||||||
|
|
1
tox.ini
1
tox.ini
|
@ -18,7 +18,6 @@ deps =
|
||||||
ansible29: ansible==2.9
|
ansible29: ansible==2.9
|
||||||
ansiblelatest: ansible
|
ansiblelatest: ansible
|
||||||
commands =
|
commands =
|
||||||
pip3 install python-apt;
|
|
||||||
ansible-playbook .ansible-test.yml -i localhost
|
ansible-playbook .ansible-test.yml -i localhost
|
||||||
setenv =
|
setenv =
|
||||||
TOX_ENVNAME={envname}
|
TOX_ENVNAME={envname}
|
||||||
|
|
Loading…
Reference in a new issue