ansible-roles/ghn-gcore/provide-gcube-key/tasks/main.yml

11 lines
301 B
YAML

---
- name: Install the gcube keys
copy: src=/tmp/symm.key dest=/home/{{ item.0 }}/{{ gcube_conf_path }}/{{ item.1 }} owner={{ item.0 }} group={{ item.0 }} mode=0400
with_nested:
- '{{ gcube_users }}'
- '{{ gcube_symm_key_file }}'
notify: Restart ghn webservice
tags:
- gcube_key