added ansible playbook
This commit is contained in:
15
ansible/deploy-to-prod.yaml
Normal file
15
ansible/deploy-to-prod.yaml
Normal file
@@ -0,0 +1,15 @@
|
||||
---
|
||||
- name: Ping the hosts defined in hosts.ini
|
||||
hosts: prod
|
||||
vars_files:
|
||||
- ./vars/vault.yaml
|
||||
- ./vars/vars.yaml
|
||||
|
||||
gather_facts: yes
|
||||
|
||||
tasks:
|
||||
- name: Ping the hosts
|
||||
ping:
|
||||
|
||||
roles:
|
||||
- weekly
|
||||
Reference in New Issue
Block a user