Сергей Антоненко 3 년 전
부모
커밋
0404d19459
1개의 변경된 파일18개의 추가작업 그리고 0개의 파일을 삭제
  1. 18 0
      install.sh

+ 18 - 0
install.sh

@@ -0,0 +1,18 @@
+#! /bin/bash
+
+# Обновить систему
+#apt update && apt upgrade -y
+
+# Установить ansible
+#apt install git mc htop ansible -y
+
+# Клонировать репозиторий с ansible
+rm -rf /tmp/git
+mkdir /tmp/git
+git clone https://git.oktcloud.space/vidikon/software-playbooks.git /tmp/git
+
+# Запустить playbooks
+ansible-playbook -i /tmp/git/hosts /tmp/git/install-software.yml
+
+# Удалить мусор
+#apt remove --purge ansible -y