Update README.md
This commit is contained in:
parent
68e797a054
commit
d50f1505bb
1 changed files with 4 additions and 4 deletions
|
|
@ -45,24 +45,24 @@ poetry run enroll --help
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
On the host (root recommended):
|
On the host (root recommended to harvest as much data as possible):
|
||||||
|
|
||||||
### 1. Harvest state/information about the host
|
### 1. Harvest state/information about the host
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
sudo poetry run enroll harvest --out /tmp/enroll-harvest
|
enroll harvest --out /tmp/enroll-harvest
|
||||||
```
|
```
|
||||||
|
|
||||||
### 2. Generate Ansible manifests (roles/playbook) from that harvest
|
### 2. Generate Ansible manifests (roles/playbook) from that harvest
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
sudo poetry run enroll manifest --harvest /tmp/enroll-harvest --out /tmp/enroll-ansible
|
enroll manifest --harvest /tmp/enroll-harvest --out /tmp/enroll-ansible
|
||||||
```
|
```
|
||||||
|
|
||||||
### Alternatively, do both steps in one shot:
|
### Alternatively, do both steps in one shot:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
sudo poetry run enroll enroll --harvest /tmp/enroll-harvest --out /tmp/enroll-ansible
|
enroll enroll --harvest /tmp/enroll-harvest --out /tmp/enroll-ansible
|
||||||
```
|
```
|
||||||
|
|
||||||
Then run:
|
Then run:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue