Last active
          August 29, 2015 13:56 
        
      - 
      
- 
        Save srgvg/9260657 to your computer and use it in GitHub Desktop. 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | host1 ansible_ssh_host=host1.domain.example | |
| host2 ansible_ssh_host=host2.domain.example | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | --- | |
| - hosts: host1 | |
| gather_facts: False | |
| tasks: | |
| - command: hostname | |
| delegate_to: host2 | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | --- | |
| - hosts: host1 | |
| gather_facts: False | |
| tasks: | |
| - command: hostname | |
| delegate_to: some.other.host | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment