Cleanup stop handler and barbican_apache_* variables
Since handler was added for upgrade purposes, we can drop it now. We also remove not used barbican_apache_* variables since we've migrated to the uwsgi usage several releases ago. Change-Id: Ib19834a1ae4751f7439afaabb532220f873e4b8f
This commit is contained in:
parent
ac0bf98715
commit
8906fac35d
|
@ -169,13 +169,10 @@ barbican_service_project_domain_id: default
|
|||
barbican_service_user_domain_id: default
|
||||
barbican_service_project_name: service
|
||||
|
||||
# Apache configuration vars
|
||||
# uwsgi configuration vars
|
||||
barbican_wsgi_processes_max: 16
|
||||
barbican_wsgi_processes: "{{ [[ansible_processor_vcpus|default(2) // 2, 1] | max, barbican_wsgi_processes_max] | min }}"
|
||||
barbican_wsgi_threads: 1
|
||||
barbican_apache_log_level: info
|
||||
barbican_apache_servertokens: "Prod"
|
||||
barbican_apache_serversignature: "Off"
|
||||
|
||||
barbican_ssl: false
|
||||
barbican_ssl_cert: /etc/ssl/certs/barbican.pem
|
||||
|
|
|
@ -13,19 +13,6 @@
|
|||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
# NOTE (noonedeadpunk): this handler is added to stop old barbican service
|
||||
# which was renamed to barbican-api, so that it don't interfer during upgrade.
|
||||
# Should be removed after Ussuri release
|
||||
- name: Stop obsoleted barbican service
|
||||
systemd:
|
||||
name: barbican
|
||||
state: "stopped"
|
||||
enabled: no
|
||||
failed_when: false
|
||||
listen:
|
||||
- "Restart barbican services"
|
||||
- "venv changed"
|
||||
|
||||
- name: Restart barbican services
|
||||
systemd:
|
||||
name: "{{ item.service_name }}"
|
||||
|
|
Loading…
Reference in New Issue