Create Ansible
This commit is contained in:
14
roles/install-datadiode.yml
Normal file
14
roles/install-datadiode.yml
Normal file
@@ -0,0 +1,14 @@
|
||||
---
|
||||
- name: Install Git and Python
|
||||
hosts: All_server
|
||||
become: yes # برای اجرای دستورات با دسترسی ریشه
|
||||
tasks:
|
||||
- name: Install Git
|
||||
zypper:
|
||||
name: git
|
||||
state: present
|
||||
|
||||
- name: Install Python
|
||||
zypper:
|
||||
name: python3
|
||||
state: present
|
Reference in New Issue
Block a user