Procházet zdrojové kódy

Add note about ask-become-pass

This flag is necessary for Ansible to ask for the sudo password when using the non-root option as documented in the `hosts` file. Otherwise, Ansible errors out with `missing sudo password`.
pull/492/head
Kevin Lanni před 5 roky
committed by GitHub
rodič
revize
89deb1b195
V databázi nebyl nalezen žádný známý klíč pro tento podpis ID GPG klíče: 4AEE18F83AFDEB23
1 změnil soubory, kde provedl 2 přidání a 0 odebrání
  1. +2
    -0
      docs/installing.md

+ 2
- 0
docs/installing.md Zobrazit soubor

@@ -10,6 +10,8 @@ ansible-playbook -i inventory/hosts setup.yml --tags=setup-all


**Note**: if you don't use SSH keys for authentication, but rather a regular password, you may need to add `--ask-pass` to the above (and all other) Ansible commands. **Note**: if you don't use SSH keys for authentication, but rather a regular password, you may need to add `--ask-pass` to the above (and all other) Ansible commands.


**Note**: if you **do** use SSH keys for authentication, **and** use a non-root user to *become* root (sudo), you may need to add `-K` (`--ask-become-pass`) to the above (and all other) Ansible commands.

The above command **doesn't start any services just yet** (another step does this later - below). The above command **doesn't start any services just yet** (another step does this later - below).


Feel free to **re-run this setup command any time** you think something is off with the server configuration. Feel free to **re-run this setup command any time** you think something is off with the server configuration.


Načítá se…
Zrušit
Uložit