[copr] setup certificate to access fed-cloud09
This commit is contained in:
parent
61ecc3d212
commit
84a36b9238
2 changed files with 9 additions and 0 deletions
5
roles/copr/backend/tasks/install_cloud_cert.yml
Normal file
5
roles/copr/backend/tasks/install_cloud_cert.yml
Normal file
|
@ -0,0 +1,5 @@
|
|||
- name: copy .pem
|
||||
copy: src=files/fedora-cloud/fed-cloud09.pem dest=/etc/pki/ca-trust/source/anchors/
|
||||
|
||||
- name: update certificates
|
||||
command: /usr/bin/update-ca-trust
|
|
@ -174,5 +174,9 @@
|
|||
shell: "chown -R copr:copr /var/lib/copr/public_html"
|
||||
when: copr_results_dir_st.stat.pw_name != "copr"
|
||||
|
||||
- name: install cert to access fed-cloud09
|
||||
# TODO: remove this when fed-cloud09 receives external cert
|
||||
include: install_cloud_cert.yml
|
||||
|
||||
- name: set acl for logstash to access httpd logs
|
||||
acl: name=/var/log/lighttpd entity=logstash etype=user permissions=rx state=present
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue