Ansible# 6 - How to Gather Facts and Variables about Local Host and Remote Hosts - Module facts

Поделиться
HTML-код
  • Опубликовано: 31 май 2022
  • Ansible by default gathers facts about controlled nodes or remote hosts when you run a playbook. Those facts can provide helpful variables which we can use in our playbook or tasks.
    Follow this lab exercise to understand:
    - how to make use of Ansible Facts in a Playbook
    - how to disable gathering of facts in a Playbook
    - how to use Ansible variables
    - how to run the Ansible Ad-Hoc Command to gather facts and variables
    - how to limit showing of facts to a limited subset of facts
    - how to filter out a specific piece of facts or information
    - how to use facts in decision making which we will cover completely in our next lab exercise or video
  • НаукаНаука

Комментарии •