dev #9

Merged
mpavlov merged 11 commits from dev into master 2024-09-27 23:26:41 +03:00
2 changed files with 15 additions and 13 deletions
Showing only changes of commit 9b4f89ab80 - Show all commits

View File

@@ -1,6 +0,0 @@
[defaults]
hostfile = hosts.ini
log_path = ansible-log.log
host_key_checking = false
interpreter_python = /usr/bin/python3
forks = 30

View File

@@ -7,15 +7,23 @@
- install
- add_config
- name: Install dependencies (Debian)
ansible.builtin.apt:
name:
- docker.io
- docker-compose
update_cache: yes
when: ansible_facts['os_family'] == "Debian"
- name: Install dependencies (RHEL)
ansible.builtin.pip:
name:
- docker
- docker-compose
when: ansible_facts['os_family'] == "RedHat"
- name: Install rproxy
block:
- name: Install dependencies
ansible.builtin.apt:
name:
- docker.io
- docker-compose
update_cache: yes
- name: Remove rproxy dir
ansible.builtin.file:
path: "{{ rproxy_dir }}"