maxhoesel / maxhoesel.smallstep / 0.23.1 / module / step_ca_bootstrap Initialize C(step-cli) to trust a step-ca server | "added in version" 0.3.0 of maxhoesel.smallstep" Authors: Max Hösel (@maxhoesel)maxhoesel.smallstep.step_ca_bootstrap (0.23.1) — module
Install with ansible-galaxy collection install maxhoesel.smallstep:==0.23.1
collections: - name: maxhoesel.smallstep version: 0.23.1
Downloads the root certificate from the given cert authority and sets up the local environment to use it. This allows running other C(step-cli ca) commands without having to specify I(ca_url) or I(ca_config) every time.
- name: Bootstrap using the CA url and a fingerprint maxhoesel.smallstep.step_ca_bootstrap: ca_url: https://ca.example.org fingerprint: d9d0978692f1c7cc791f5c343ce98771900721405e834cd27b9502cc719f5097
- name: Bootstrap and install the root certificate maxhoesel.smallstep.step_ca_bootstrap: ca_url: https://ca.example.org fingerprint: d9d0978692f1c7cc791f5c343ce98771900721405e834cd27b9502cc719f5097 install: yes
force: default: false description: Force the overwrite of files without asking. type: bool ca_url: description: URI of the targeted Step Certificate Authority required: true type: str install: default: false description: Install the root certificate into the system truststore. Make sure that the user has the required privileges. type: bool fingerprint: description: The fingerprint of the targeted root certificate required: true type: str redirect_url: description: Terminal OAuth redirect url. type: str step_cli_executable: default: step-cli description: Name (or absolute path) of the C(step-cli) executable to use type: path