In order to run ansible-freeipa tests you will need to have `ansible` and `pytest`
In order to run ansible-freeipa tests you will need to have `ansible` and `pytest` installed on your machine. We'll call this local machine `controller`.
installed on your machine. We'll call this local machine `controller`.
You will also need to have a remote host with freeipa server installed and configured.
You will also need to have a remote host with freeipa server installed and configured. We'll call this remote host `ipaserver`.
We'll call this remote host `ipaserver`.
Some other requirements:
Some other requirements:
...
@@ -19,27 +17,32 @@ Some other requirements:
...
@@ -19,27 +17,32 @@ Some other requirements:
## Running the tests
## Running the tests
To run the tests run:
To run the tests run:
```
```
IPA_SERVER_HOST=<ipaserver_host_or_ip> pytest
IPA_SERVER_HOST=<ipaserver_host_or_ip> pytest
```
```
If you need to run using a different user you can use `ANSIBLE_REMOTE_USER`
If you need to run using a different user you can use `ANSIBLE_REMOTE_USER`