We have two servers
1.master
2.worker1
create playbook
example: play.yml
—
– hosts: all
tasks:
– name: Ansible copy file to remote server
copy:
src: ~/kube-cluster
dest: /root
Run ansible playbook
ansible-playbook play.yml
mithun.kalarikal@gmail.com
Your email address will not be published. Required fields are marked *
Comment *
Name *
Email *
Website
Save my name, email, and website in this browser for the next time I comment.