Include ask_sudo_pass in ansible.cfg
This commit is contained in:
parent
d130a87963
commit
a80a8d9757
|
@ -8,13 +8,13 @@
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ ansible-playbook playbook.yml -K
|
$ ansible-playbook playbook.yml
|
||||||
```
|
```
|
||||||
|
|
||||||
Run everything.
|
Run everything.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ ansible-playbook playbook.yml -K -t <tag>
|
$ ansible-playbook playbook.yml -t <tag>
|
||||||
```
|
```
|
||||||
|
|
||||||
Run a specific tag.
|
Run a specific tag.
|
||||||
|
|
|
@ -2,3 +2,4 @@
|
||||||
log_path = ./log/ansible.log
|
log_path = ./log/ansible.log
|
||||||
hostfile = ./inventory
|
hostfile = ./inventory
|
||||||
inventory = ./inventory
|
inventory = ./inventory
|
||||||
|
ask_sudo_pass = true
|
||||||
|
|
Loading…
Reference in a new issue