File tree Expand file tree Collapse file tree 2 files changed +12
-10
lines changed
Expand file tree Collapse file tree 2 files changed +12
-10
lines changed Original file line number Diff line number Diff line change 33Install system packages:
44
55``` shell
6- # If install Ansible via pip: sudo dnf install epel-release dnf-utils python3-pip https://rpms.remirepo.net/enterprise/remi-release-10.rpm -y
76sudo dnf install epel-release dnf-utils https://rpms.remirepo.net/enterprise/remi-release-10.rpm -y
87```
98
@@ -30,12 +29,14 @@ Update/Upgrade system packages:
3029sudo dnf upgrade -y
3130```
3231
33- Now, install the latest version of ** Ansible** :
32+ Now, install the latest version of ** Ansible Core ** and run ** ansible-galaxy ** in order to install collections :
3433
3534``` shell
36- sudo dnf install ansible -y
37- # If install Ansible from packages: sudo dnf install ansible-core ansible-collection-community-general -y
38- # If install Ansible via pip: pip install ansible
35+ sudo dnf install ansible-core -y
36+ ```
37+
38+ ``` shell
39+ ansible-galaxy collection install community.general community.mysql
3940```
4041
4142Move inside your home directory (it is ` /home/ ` followed by your AlmaLinux10 username, for example: ` /home/dotkernel ` ):
Original file line number Diff line number Diff line change @@ -87,7 +87,6 @@ passwd: all authentication tokens updated successfully.
8787Install system packages:
8888
8989``` shell
90- # If install Ansible via pip: sudo dnf install epel-release dnf-utils python3-pip https://rpms.remirepo.net/enterprise/remi-release-10.rpm -y
9190sudo dnf install epel-release dnf-utils https://rpms.remirepo.net/enterprise/remi-release-10.rpm -y
9291```
9392
@@ -113,12 +112,14 @@ Update/Upgrade system packages:
113112sudo dnf upgrade -y
114113```
115114
116- Now, install the latest version of ** Ansible** :
115+ Now, install the latest version of ** Ansible Core ** and run ** ansible-galaxy ** in order to install collections :
117116
118117``` shell
119- sudo dnf install ansible -y
120- # If install Ansible from packages: sudo dnf install ansible-core ansible-collection-community-general -y
121- # If install Ansible via pip: pip install ansible
118+ sudo dnf install ansible-core -y
119+ ```
120+
121+ ``` shell
122+ ansible-galaxy collection install community.general community.mysql
122123```
123124
124125Move inside your home directory (it is ` /home/ ` followed by your AlmaLinux10 username, for example: ` /home/dotkernel ` ):
You can’t perform that action at this time.
0 commit comments