1
0
mirror of https://github.com/adambard/learnxinyminutes-docs.git synced 2025-08-20 05:21:26 +02:00
This commit is contained in:
sirkubax
2018-01-01 21:51:14 +01:00
parent 0c6ac5e17b
commit 275c6eb59f

View File

@@ -441,7 +441,7 @@ $ ansible -m ping all -i etc/inv/ec2.py
### ansible profiling - callback ### ansible profiling - callback
Playbook execution takes some time. It is OK. First make it run, then you may like to speed things up Playbook execution takes some time. It is OK. First make it run, then you may like to speed things up
Since ansible 2.x there is bouilt-in callback for task execution profiling Since ansible 2.x there is built-in callback for task execution profiling
``` ```
vi ansible.cfg vi ansible.cfg
@@ -467,7 +467,7 @@ fact_caching_timeout = 86400
``` ```
I like to use `jsonfile` as my backend. It allows to use another project I like to use `jsonfile` as my backend. It allows to use another project
`ansible-cmdb` [github] that generates a HTML page of your inventory resources. A nice 'free' addition! `ansible-cmdb` [github](https://github.com/fboender/ansible-cmdb) that generates a HTML page of your inventory resources. A nice 'free' addition!
### debugging ansible ### debugging ansible
When your job fails - it is good to be effective with debugging. When your job fails - it is good to be effective with debugging.