Commit 48d39d3e authored by Дмитрий Сафронов's avatar Дмитрий Сафронов
Browse files

Fix

parent 38cc19c0
Loading
Loading
Loading
Loading
+7 −9
Original line number Diff line number Diff line
---

- name: python3
  hosts: ipacluster
  become: yes
  tasks:
    - name: Bootstrap a host without python3 installed
      raw: ( test -n "$(which yum)" && yum install -y python3 ) ; ( test -n "$(which apt)" && apt install -y python3 ) ; ( test -n "$(which apk)" && apt add -y python3 )

- name: hostname
  hosts: hostname:&ipacluster
  become: yes
  roles:
    - hostname

- name: python3
  hosts: ipacluster
  become: yes
  tasks:
    - name: python3
      ansible.builtin.package:
        name: python3
        state: present