1
1
# Installation
2
2
3
- This document assumes the developer has a basic understanding of python
4
- packaging, and how to install and manage python on the system executing
3
+ This document assumes the developer has a basic understanding of Python
4
+ packaging, and how to install and manage Python on the system executing
5
5
Molecule.
6
6
7
7
## Requirements
@@ -28,27 +28,17 @@ packages.
28
28
29
29
[ pip] is the only supported installation method.
30
30
31
- !!! warning
32
-
33
- Ansible is not listed as a direct dependency of molecule package because
34
- we only call it as a command line tool. You may want to install it using
35
- your distribution package installer.
31
+ {{ install_from_adt("ansible-navigator") }}
36
32
37
33
``` bash
38
34
$ python3 -m pip install molecule ansible-core
39
35
```
40
36
41
- !!! warning
42
-
43
- `ansible` and `ansible-base` pip **extras** were removed in molecule
44
- `4.0.0`. If you used them, please switch to explicit package mention to
45
- avoid problem with newer versions of molecule.
46
-
47
37
Keep in mind that on selinux supporting systems, if you install into a
48
38
virtual environment, you may face [ issue 34340] ( https://github.com/ansible/ansible/issues/34340 ) even if
49
39
selinux is not enabled or is configured to be permissive.
50
40
51
- It is your responsibility to assure that soft dependencies of Ansible
41
+ It is your responsibility to ensure that soft dependencies of Ansible
52
42
are available on your controller or host machines.
53
43
54
44
!!! warning
@@ -67,8 +57,7 @@ $ python3 -m pip install --upgrade --user setuptools
67
57
### Requirements
68
58
69
59
Depending on the driver chosen, you may need to install additional
70
- python packages. See the driver's documentation or ` INSTALL.rst ` , which
71
- is created when initializing a new scenario.
60
+ Python packages. See the driver's documentation in that case.
72
61
73
62
### Install
74
63
@@ -104,20 +93,20 @@ $ python3 -m pip install --user "molecule-plugins[podman]"
104
93
105
94
Installing molecule package also installed its main script ` molecule ` ,
106
95
usually in ` PATH ` . Users should know that molecule can also be called as
107
- a python module, using ` python -m molecule ...` . This alternative method
96
+ a python module, using ` python3 -m molecule ...` . This alternative method
108
97
has some benefits:
109
98
110
- - allows to explicitly control which python interpreter is used by
99
+ - allows to explicitly control which Python interpreter is used by
111
100
molecule
112
- - allows molecule installation at user level without even needing to
101
+ - allows molecule installation at the user level without even needing to
113
102
have the script in ` PATH ` .
114
103
115
104
## Container
116
105
117
- Molecule is built into a container image by the [ Ansible Creator Execution
106
+ ` Molecule ` is built into a container image by the [ Ansible Creator Execution
118
107
Environment] ( https://github.com/ansible/creator-ee ) project, ` creator-ee ` .
119
108
120
- Any questions or bugs related to use of Molecule from within a container
109
+ Any questions or bugs related to the use of Molecule from within a container
121
110
should be addressed by the Ansible Creator Execution Environment
122
111
project.
123
112
@@ -129,9 +118,8 @@ Follow the instructions below to do the initial install and subsequent
129
118
updates.
130
119
131
120
The package distribution that you'll get installed will be
132
- autogenerated and will contain a commit hash information making it
133
- easier to refer to certain unstable version should the need to send a
134
- bug report arise.
121
+ autogenerated and will contain commit hash information, making it
122
+ easier to refer to.
135
123
136
124
### Requirements
137
125
0 commit comments