fix: install packets
This commit is contained in:
@@ -31,6 +31,9 @@ docker_python_packages:
|
|||||||
- python3-setuptools
|
- python3-setuptools
|
||||||
- python3-virtualenv
|
- python3-virtualenv
|
||||||
- python3-wheel
|
- python3-wheel
|
||||||
|
- ca-certificates
|
||||||
|
- curl
|
||||||
|
- gpg
|
||||||
|
|
||||||
docker_python_libraries:
|
docker_python_libraries:
|
||||||
- docker==6.1.3
|
- docker==6.1.3
|
||||||
|
|||||||
@@ -3,16 +3,17 @@
|
|||||||
apt:
|
apt:
|
||||||
update_cache: yes
|
update_cache: yes
|
||||||
|
|
||||||
- name: Install utils
|
- name: install required packages
|
||||||
retries: 3
|
apt:
|
||||||
delay: 5
|
name: "{{ docker_python_packages }}"
|
||||||
ansible.builtin.apt:
|
state: present
|
||||||
pkg:
|
|
||||||
- ca-certificates
|
|
||||||
- curl
|
|
||||||
- gpg
|
|
||||||
update_cache: yes
|
update_cache: yes
|
||||||
cache_valid_time: 3600
|
cache_valid_time: 86400
|
||||||
|
|
||||||
|
- name: install required python modules
|
||||||
|
pip:
|
||||||
|
executable: pip3
|
||||||
|
name: "{{ docker_python_libraries }}"
|
||||||
|
|
||||||
- name: Make sure the APT keyring directory exists
|
- name: Make sure the APT keyring directory exists
|
||||||
file:
|
file:
|
||||||
|
|||||||
@@ -1,16 +1,4 @@
|
|||||||
---
|
---
|
||||||
- name: install required packages
|
|
||||||
apt:
|
|
||||||
name: "{{ docker_python_packages }}"
|
|
||||||
state: present
|
|
||||||
update_cache: yes
|
|
||||||
cache_valid_time: 86400
|
|
||||||
|
|
||||||
- name: install required python modules
|
|
||||||
pip:
|
|
||||||
executable: pip3
|
|
||||||
name: "{{ docker_python_libraries }}"
|
|
||||||
|
|
||||||
- name: Deploy Netdata Docker container
|
- name: Deploy Netdata Docker container
|
||||||
community.docker.docker_container:
|
community.docker.docker_container:
|
||||||
name: netdata
|
name: netdata
|
||||||
|
|||||||
Reference in New Issue
Block a user