Add possibility to overwrite public repo
For Centos, we use by default public repo for nginx and shibboleth. You can change this behaviour with these role-wide variables: - keystone_centos_nginx_mirror - keystone_centos_nginx_key - keystone_centos_shibboleth_mirror - keystone_centos_shibboleth_key Or with these osa-wide variables: - centos_nginx_mirror - centos_nginx_key Change-Id: Icb21c31141d1d78e5a2e23b35378ffb0520c0d1d
This commit is contained in:
parent
3b59402541
commit
33b165bcc4
@ -31,6 +31,10 @@ keystone_pip_package_state: "latest"
|
|||||||
keystone_install_method: "source"
|
keystone_install_method: "source"
|
||||||
keystone_venv_python_executable: "{{ openstack_venv_python_executable | default('python2') }}"
|
keystone_venv_python_executable: "{{ openstack_venv_python_executable | default('python2') }}"
|
||||||
|
|
||||||
|
# Centos shibboleth repository options
|
||||||
|
keystone_centos_shibboleth_mirror: "http://download.opensuse.org/repositories/security:/shibboleth/CentOS_7/"
|
||||||
|
keystone_centos_shibboleth_key: "http://download.opensuse.org/repositories/security:/shibboleth/CentOS_7//repodata/repomd.xml.key"
|
||||||
|
|
||||||
# Role standard API override this option in the OS variable files
|
# Role standard API override this option in the OS variable files
|
||||||
keystone_shibboleth_repo: {}
|
keystone_shibboleth_repo: {}
|
||||||
|
|
||||||
@ -204,6 +208,10 @@ keystone_httpd_mpm_thread_child: 25
|
|||||||
keystone_httpd_mpm_max_requests: 150
|
keystone_httpd_mpm_max_requests: 150
|
||||||
keystone_httpd_mpm_max_conn_child: 0
|
keystone_httpd_mpm_max_conn_child: 0
|
||||||
|
|
||||||
|
## Centos NGINX repository options
|
||||||
|
keystone_centos_nginx_mirror: "{{ centos_nginx_mirror | default('http://nginx.org/packages/centos/7/$basearch/') }}"
|
||||||
|
keystone_centos_nginx_key: "{{ centos_nginx_key | default('http://nginx.org/keys/nginx_signing.key') }}"
|
||||||
|
|
||||||
## Nginx setup
|
## Nginx setup
|
||||||
keystone_nginx_access_log_format_combined: '$remote_addr - $remote_user [$time_local] "$request" $status $body_bytes_sent "$http_referer" "$http_user_agent"'
|
keystone_nginx_access_log_format_combined: '$remote_addr - $remote_user [$time_local] "$request" $status $body_bytes_sent "$http_referer" "$http_user_agent"'
|
||||||
keystone_nginx_access_log_format_extras: '$request_time $upstream_response_time'
|
keystone_nginx_access_log_format_extras: '$request_time $upstream_response_time'
|
||||||
|
@ -44,8 +44,8 @@
|
|||||||
yum_repository:
|
yum_repository:
|
||||||
name: "shibboleth"
|
name: "shibboleth"
|
||||||
description: "shibboleth Repo"
|
description: "shibboleth Repo"
|
||||||
baseurl: "http://download.opensuse.org/repositories/security:/shibboleth/CentOS_7/"
|
baseurl: "{{ keystone_centos_shibboleth_mirror }}"
|
||||||
gpgkey: "http://download.opensuse.org/repositories/security:/shibboleth/CentOS_7//repodata/repomd.xml.key"
|
gpgkey: "{{ keystone_centos_shibboleth_key }}"
|
||||||
gpgcheck: yes
|
gpgcheck: yes
|
||||||
when:
|
when:
|
||||||
- ansible_pkg_mgr in ['yum', 'dnf']
|
- ansible_pkg_mgr in ['yum', 'dnf']
|
||||||
@ -53,7 +53,7 @@
|
|||||||
|
|
||||||
- name: Add NGINX repository keys
|
- name: Add NGINX repository keys
|
||||||
rpm_key:
|
rpm_key:
|
||||||
key: "{{ keystone_nginx_gpg_key }}"
|
key: "{{ keystone_centos_nginx_key }}"
|
||||||
state: present
|
state: present
|
||||||
when:
|
when:
|
||||||
- ansible_pkg_mgr in ['yum', 'dnf']
|
- ansible_pkg_mgr in ['yum', 'dnf']
|
||||||
@ -67,7 +67,7 @@
|
|||||||
yum_repository:
|
yum_repository:
|
||||||
name: nginx
|
name: nginx
|
||||||
description: 'nginx repo'
|
description: 'nginx repo'
|
||||||
baseurl: "{{ keystone_nginx_repo }}"
|
baseurl: "{{ keystone_centos_nginx_mirror }}"
|
||||||
when:
|
when:
|
||||||
- ansible_pkg_mgr in ['yum', 'dnf']
|
- ansible_pkg_mgr in ['yum', 'dnf']
|
||||||
- keystone_web_server == 'nginx'
|
- keystone_web_server == 'nginx'
|
||||||
|
@ -43,8 +43,6 @@ keystone_apache_distro_packages:
|
|||||||
- mod_ssl
|
- mod_ssl
|
||||||
- mod_proxy_uwsgi
|
- mod_proxy_uwsgi
|
||||||
|
|
||||||
keystone_nginx_repo: http://nginx.org/packages/centos/7/$basearch/
|
|
||||||
keystone_nginx_gpg_key: http://nginx.org/keys/nginx_signing.key
|
|
||||||
keystone_nginx_distro_packages:
|
keystone_nginx_distro_packages:
|
||||||
- nginx
|
- nginx
|
||||||
|
|
||||||
@ -84,4 +82,4 @@ keystone_system_service_name: httpd
|
|||||||
|
|
||||||
keystone_uwsgi_bin: '/usr/sbin'
|
keystone_uwsgi_bin: '/usr/sbin'
|
||||||
|
|
||||||
keystone_sshd: sshd
|
keystone_sshd: sshd
|
||||||
|
Loading…
x
Reference in New Issue
Block a user