Mentions légales du service

Skip to content
Snippets Groups Projects
Forked from discovery / enoslib
Source project has a limited visibility.
  • SIMONIN Matthieu's avatar
    a70449b4
    api.play_on: Clarify the use of `gather_facts` · a70449b4
    SIMONIN Matthieu authored
    Situation before this patch.
    
    The `gather_facts` option was supposed to control whether the facts are
    gathered prior to the execution of the modules.
    It could take two values:
    - False -> facts was not gathered at all
    - True -> facts for the hosts maching the provided `pattern_hosts` were
    gathered. Note that this contradicted the docstring who stated that the
    facts were supposed to be gathered on all hosts
    
    Situation with this patch.
    
    `gather_fatcs` is now an Union of boolean and string:
    - True -> for the hosts maching the provided `pattern_hosts` were
    gathered
    - False -> no fact will be gatherd
    - pattern_hosts: str -> facts will be gathered for hosts that match `pattern`.
    Verified
    a70449b4
    History
    api.play_on: Clarify the use of `gather_facts`
    SIMONIN Matthieu authored
    Situation before this patch.
    
    The `gather_facts` option was supposed to control whether the facts are
    gathered prior to the execution of the modules.
    It could take two values:
    - False -> facts was not gathered at all
    - True -> facts for the hosts maching the provided `pattern_hosts` were
    gathered. Note that this contradicted the docstring who stated that the
    facts were supposed to be gathered on all hosts
    
    Situation with this patch.
    
    `gather_fatcs` is now an Union of boolean and string:
    - True -> for the hosts maching the provided `pattern_hosts` were
    gathered
    - False -> no fact will be gatherd
    - pattern_hosts: str -> facts will be gathered for hosts that match `pattern`.