Skip to content

Commit

Permalink
Update ansible.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
vikash-kumar01 authored Jan 22, 2022
1 parent 69bfa6d commit 80d7d57
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions ansible.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
- hosts: all
become: true
tasks:
#- name: delete old deployment
# command: kubectl delete -f /home/ubuntu/Deployment.yml
# - name: delete old service
# command: kubectl delete -f /home/ubuntu/Service.yml
- name: delete old deployment
command: kubectl delete -f /home/ubuntu/Deployment.yml
- name: delete old service
command: kubectl delete -f /home/ubuntu/Service.yml
- name: create new deployment
command: kubectl apply -f /home/ubuntu/Deployment.yml
- name: create new service
Expand Down

0 comments on commit 80d7d57

Please sign in to comment.