Refactor definition of lock path

Change-Id: I5dc391fa69d84e304439b1187dac7f73c2a959e1
This commit is contained in:
Dmitriy Rabotyagov 2021-12-02 19:04:14 +02:00
parent ffac17201a
commit 1a7f8b2a57
2 changed files with 5 additions and 3 deletions

View File

@ -114,6 +114,8 @@ octavia_system_group_name: octavia
octavia_system_shell: /bin/false
octavia_system_comment: octavia system user
octavia_system_home_folder: "/var/lib/{{ octavia_system_user_name }}"
octavia_system_slice_name: octavia
octavia_lock_dir: "{{ openstack_lock_dir | default('/run/lock') }}"
## Auth
octavia_service_region: "{{ service_region | default('RegionOne') }}"

View File

@ -128,15 +128,15 @@
systemd_user_name: "{{ octavia_system_user_name }}"
systemd_group_name: "{{ octavia_system_group_name }}"
systemd_tempd_prefix: openstack
systemd_slice_name: nova
systemd_lock_path: /var/lock/octavia
systemd_slice_name: "{{ octavia_system_slice_name }}"
systemd_lock_dir: "{{ octavia_lock_dir }}"
systemd_CPUAccounting: true
systemd_BlockIOAccounting: true
systemd_MemoryAccounting: true
systemd_TasksAccounting: true
systemd_services: "{{ filtered_octavia_services }}"
tags:
- nova-config
- octavia-config
- systemd-service
- import_tasks: service_setup.yml