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 3
3
Install system packages:
4
4
5
5
``` 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
7
6
sudo dnf install epel-release dnf-utils https://rpms.remirepo.net/enterprise/remi-release-10.rpm -y
8
7
```
9
8
@@ -30,12 +29,14 @@ Update/Upgrade system packages:
30
29
sudo dnf upgrade -y
31
30
```
32
31
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 :
34
33
35
34
``` 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
39
40
```
40
41
41
42
Move 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.
87
87
Install system packages:
88
88
89
89
``` 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
91
90
sudo dnf install epel-release dnf-utils https://rpms.remirepo.net/enterprise/remi-release-10.rpm -y
92
91
```
93
92
@@ -113,12 +112,14 @@ Update/Upgrade system packages:
113
112
sudo dnf upgrade -y
114
113
```
115
114
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 :
117
116
118
117
``` 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
122
123
```
123
124
124
125
Move 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