Useful shortcuts for vi editor

Showing posts with label gather_facts. Show all posts
Showing posts with label gather_facts. Show all posts

Friday 29 June 2018

benefit of "gather_facts: no" setting

If you do not need any facts for your variables, you can run your playbook more fast via gather_facts setting.

For this, just add following setting in your playbook:

# example playbook
- name: Run the role for me 
  hosts: my_nodes
  gather_facts: no
  roles:
  - example-role