diff --git a/src/docs.html b/src/docs.html index 5d21c77..73276be 100644 --- a/src/docs.html +++ b/src/docs.html @@ -60,6 +60,7 @@
At a high level, this is what happens when enroll harvest runs on a host:
/etc that have been modified from the default that get shipped with the package./etc that is common for config management. This is stuff like the apt or dnf configuration, crons, logrotate configs, networking settings, hosts files, etc./etc not associated with packages/services or other typical system config, and will put these into an etc_custom role./usr/local for stuff, on the assumption that this is an area that custom apps/configs might've been placed in. These go into a usr_local_custom role..ssh/authorized_keys--exclude-path or --include-path. For anything extra that is included, it will put these into an 'extra_paths' role. The location could be anywhere e.g something in /opt, /srv, whatever you want.Other things to be aware of:
+--exclude-path to skip the bits you don't want. You also can always comment out from the playbook.yml or delete certain roles it generates once you've run the enroll manifest.--include-path and use --dangerous, it will skip some policy statements such as what types of content to ignore./etc, /usr/local/etc and /usr/local/bin, and 500 files per 'role'), to avoid unintentional 'runaway' situations.ansible.builtin.copy in role tasks.Manifest output has two styles. Choose based on how you'll use the result.
@@ -164,7 +199,13 @@Run Enroll on your workstation, harvest a remote host over SSH. The harvest is pulled locally.
$ enroll harvest --remote-host myhost.example.com --remote-user myuser --out /tmp/enroll-harvest
-$ enroll single-shot --remote-host myhost.example.com --remote-user myuser --out /tmp/enroll-ansible --fqdn myhost.example.com
+$ enroll manifest --harvest /tmp/enroll-harvest --out /tmp/enroll-manifest
+
+# Alternatively, run both commands combined together with the 'single-shot' mode:
+
+$ enroll single-shot --remote-host myhost.example.com --remote-user myuser \
+ --harvest /tmp/enroll-harvest --out /tmp/enroll-ansible \
+ --fqdn myhost.example.com