Guest User

Untitled

a guest
Nov 13th, 2018
151
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. root@ansibile-launch:~/ansible/tasks/add-compute# cat add-compute.yml
  2. ---
  3. # Demo Adding Compute Node
  4. - name: Adding Compute Node
  5. hosts: build_node
  6. connection: local
  7. gather_facts: no
  8.  
  9.  
  10. tasks:
  11. - name: return motd to registered var
  12. ansible_user= "{{build_username}}"
  13. ansible_ssh_pass= "{{build_password}}"
  14. command: 'cp /root/setup_data.yaml /root/setup_data.yaml.bak'
Add Comment
Please, Sign In to add comment