add comment, add run datadiode python

This commit is contained in:
ArdavanPb
2025-07-23 11:57:58 +03:30
parent 6342cc01ae
commit 6d5116104b
3 changed files with 58 additions and 4 deletions

View File

@@ -3,6 +3,11 @@
hosts: All_server
become: yes # برای اجرای دستورات با دسترسی ریشه
tasks:
- name: Update all packages
zypper:
name: '*'
state: latest
- name: Install Git
zypper:
name: git
@@ -17,3 +22,9 @@
zypper:
name: libgthread-2_0-0
state: present
- name: Symlink /usr/local/bin/python to python3.11
become: yes
ansible.builtin.command:
cmd: ln -sfn /usr/bin/python3.11 /usr/local/bin/python
creates: /usr/local/bin/python