install.sh 470 B

123456789101112131415161718
  1. #! /bin/bash
  2. # Обновить систему
  3. #apt update && apt upgrade -y
  4. # Установить ansible
  5. #apt install git mc htop ansible -y
  6. # Клонировать репозиторий с ansible
  7. rm -rf /tmp/git
  8. mkdir /tmp/git
  9. git clone https://git.oktcloud.space/vidikon/software-playbooks.git /tmp/git
  10. # Запустить playbooks
  11. ansible-playbook -i /tmp/git/hosts /tmp/git/install-software.yml
  12. # Удалить мусор
  13. #apt remove --purge ansible -y