2022-04-08 14:26:35 +08:00
|
|
|
# Usage
|
2022-04-08 15:57:19 +08:00
|
|
|
Run the following and it will create ansible home under ~/rs-ansible-home and pre-populate with config and dynamic inventory script.
|
2022-04-08 14:26:35 +08:00
|
|
|
|
|
|
|
```
|
2022-04-09 11:24:55 +08:00
|
|
|
curl -sk https://xpk.headdesk.me/git/xpk/code-dumps/raw/branch/master/rs/ansible-create-home.sh | bash
|
2022-04-08 14:26:35 +08:00
|
|
|
```
|
2022-04-08 14:28:18 +08:00
|
|
|
|
|
|
|
Once ansible home is created, you can run ansible through hammertime
|
|
|
|
|
|
|
|
```
|
|
|
|
COREACCOUNT=123456 ansible -m ping linux
|
|
|
|
```
|