Compare commits

..

No commits in common. "4710231c91ad3458a17e319e30b9c2c5daa7ad8d" and "68e797a0544a173c1c3e01a134eddda3c40e6f38" have entirely different histories.

2 changed files with 5 additions and 5 deletions

View file

@ -45,24 +45,24 @@ poetry run enroll --help
## Usage
On the host (root recommended to harvest as much data as possible):
On the host (root recommended):
### 1. Harvest state/information about the host
```bash
enroll harvest --out /tmp/enroll-harvest
sudo poetry run enroll harvest --out /tmp/enroll-harvest
```
### 2. Generate Ansible manifests (roles/playbook) from that harvest
```bash
enroll manifest --harvest /tmp/enroll-harvest --out /tmp/enroll-ansible
sudo poetry run enroll manifest --harvest /tmp/enroll-harvest --out /tmp/enroll-ansible
```
### Alternatively, do both steps in one shot:
```bash
enroll enroll --harvest /tmp/enroll-harvest --out /tmp/enroll-ansible
sudo poetry run enroll enroll --harvest /tmp/enroll-harvest --out /tmp/enroll-ansible
```
Then run:

View file

@ -21,4 +21,4 @@ builtin cd "${ANSIBLE_DIR}"
ansible-lint "${ANSIBLE_DIR}"
# Run
ansible-playbook playbook.yml -i "localhost," -c local --check --diff
sudo ansible-playbook playbook.yml -i "localhost," -c local --check --diff