{"id":246,"sha1":"b8b630c33cf4cf698098d9024d581c0be9379f90","playbook":{"id":3,"items":{"plays":37,"tasks":374,"results":364,"hosts":2,"files":208,"records":0},"arguments":{"version":null,"verbosity":0,"private_key_file":null,"remote_user":null,"connection":"openstack.osa.ssh","timeout":null,"ssh_common_args":null,"sftp_extra_args":null,"scp_extra_args":null,"ssh_extra_args":null,"ask_pass":false,"connection_password_file":null,"force_handlers":true,"flush_cache":false,"become":false,"become_method":"sudo","become_user":null,"become_ask_pass":false,"become_password_file":null,"tags":["all"],"skip_tags":[],"check":false,"diff":false,"inventory":["/home/zuul/src/opendev.org/openstack/openstack-ansible/inventory/dynamic_inventory.py","/home/zuul/src/opendev.org/openstack/openstack-ansible/inventory/inventory.ini","/etc/openstack_deploy/inventory.ini"],"listhosts":false,"subset":null,"extra_vars":"Not saved by ARA as configured by 'ignored_arguments'","vault_ids":[],"ask_vault_pass":false,"vault_password_files":[],"forks":8,"module_path":null,"syntax":false,"listtasks":false,"listtags":false,"step":false,"start_at_task":null,"args":["setup-infrastructure.yml"]},"labels":[{"id":1,"name":"check:False"},{"id":2,"name":"tags:all"}],"started":"2025-12-08T13:33:24.432723Z","ended":"2025-12-08T13:39:38.483304Z","duration":"00:06:14.050581","name":null,"ansible_version":"2.18.6","client_version":"1.7.4","python_version":"3.12.3","server_version":"1.7.4","status":"completed","path":"/home/zuul/src/opendev.org/openstack/openstack-ansible/playbooks/setup-infrastructure.yml","controller":"aio1.openstack.local","user":"root"},"content":"---\n# Copyright 2022 City Network International AB\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT\n# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the\n# License for the specific language governing permissions and limitations\n# under the License.\n\n- name: Gather variables for each operating system\n  ansible.builtin.include_vars: \"{{ lookup('first_found', params) }}\"\n  vars:\n    params:\n      files:\n        - \"{{ ansible_facts['distribution'] | lower }}-{{ ansible_facts['distribution_version'] | lower }}.yml\"\n        - \"{{ ansible_facts['distribution'] | lower }}-{{ ansible_facts['distribution_major_version'] | lower }}.yml\"\n        - \"{{ ansible_facts['os_family'] | lower }}-{{ ansible_facts['distribution_major_version'] | lower }}.yml\"\n        - \"{{ ansible_facts['distribution'] | lower }}.yml\"\n        - \"{{ ansible_facts['os_family'] | lower }}.yml\"\n      paths:\n        - \"{{ role_path }}/vars\"\n  tags:\n    - always\n\n- name: Importing zookeeper_pre_install tasks\n  ansible.builtin.import_tasks: zookeeper_pre_install.yml\n  tags:\n    - zookeeper-install\n\n- name: Importing zookeeper_install tasks\n  ansible.builtin.import_tasks: zookeeper_install.yml\n  tags:\n    - zookeeper-install\n\n- name: Importing zookeeper_post_install tasks\n  ansible.builtin.import_tasks: zookeeper_post_install.yml\n  tags:\n    - zookeeper-config\n\n- name: Create and install SSL certificates\n  ansible.builtin.include_role:\n    name: pki\n  vars:\n    pki_setup_host: \"{{ zookeeper_pki_setup_host }}\"\n    pki_dir: \"{{ zookeeper_pki_dir }}\"\n    pki_create_ca: \"{{ zookeeper_pki_create_ca }}\"\n    pki_authorities: \"{{ zookeeper_pki_authorities }}\"\n    pki_install_ca: \"{{ zookeeper_pki_install_ca }}\"\n    pki_regen_ca: \"{{ zookeeper_pki_regen_ca }}\"\n    pki_create_certificates: \"{{ zookeeper_user_ssl_cert is not defined and zookeeper_user_ssl_key is not defined }}\"\n    pki_regen_cert: \"{{ zookeeper_pki_regen_cert }}\"\n    pki_certificates: \"{{ zookeeper_pki_certificates }}\"\n    pki_install_certificates: \"{{ zookeeper_pki_install_certificates }}\"\n  when:\n    - zookeeper_ssl_client_enable or zookeeper_ssl_quorum_enable\n\n- name: Run the systemd service role\n  ansible.builtin.include_role:\n    name: systemd_service\n  vars:\n    systemd_user_name: \"{{ zookeeper_system_user_name }}\"\n    systemd_group_name: \"{{ zookeeper_system_group_name }}\"\n    systemd_tempd_prefix: openstack\n    systemd_slice_name: zookeeper\n    systemd_lock_path: /var/lock/zookeeper\n    systemd_service_cpu_accounting: true\n    systemd_service_block_io_accounting: true\n    systemd_service_memory_accounting: true\n    systemd_service_tasks_accounting: true\n    systemd_services:\n      - service_name: \"{{ zookeeper_service['name'] }}\"\n        enabled: true\n        restart_changed: false\n        execstarts: \"{{ zookeeper_service['execstarts'] }}\"\n        execstops: \"{{ zookeeper_service['execstops'] }}\"\n        config_overrides: \"{{ zookeeper_init_config_overrides }}\"\n  tags:\n    - zookeeper-config\n    - systemd-service\n","created":"2025-12-08T13:33:29.512495Z","updated":"2025-12-08T13:33:29.512557Z","path":"/home/zuul/src/opendev.org/openstack/ansible-role-zookeeper/tasks/main.yml"}