Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- root@ansibile-launch:~/ansible/tasks/add-compute# cat add-compute.yml
- ---
- # Demo Adding Compute Node
- - name: Adding Compute Node
- hosts: build_node
- connection: local
- gather_facts: no
- tasks:
- - name: return motd to registered var
- ansible_user= "{{build_username}}"
- ansible_ssh_pass= "{{build_password}}"
- command: 'cp /root/setup_data.yaml /root/setup_data.yaml.bak'
Add Comment
Please, Sign In to add comment