Commit f82e9b03 authored by nanahira's avatar nanahira

cert only update

parent 2acd530a
---
- hosts: wg
tasks:
- name: load vars
include_vars:
file: '../result/{{item}}.yaml'
with_items:
- global-vars
- vars-{{inventory_hostname_short}}
- name: ocserv certs
synchronize:
src: ../certs/{{ocservCert}}/
dest: '{{ansible_user_dir}}/nextgen-network/services/ocserv/certs/{{ocservCert}}'
delete: yes
copy_links: yes
verify_host: no
recursive: yes
checksum: yes
archive: no
when: ocservNeeded and not noBird
notify: restart_ocserv
handlers:
- name: restart_ocserv
docker_compose:
project_src: '{{ansible_user_dir}}/nextgen-network/services'
restarted: true
services:
- ocserv
when: not noBird
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment