{"id":110,"sha1":"4f041d8f7ef205b3ff89df1613bb2e38fc15867c","playbook":{"id":2,"items":{"plays":18,"tasks":603,"results":2798,"hosts":18,"files":138,"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-hosts.yml"]},"labels":[{"id":1,"name":"check:False"},{"id":2,"name":"tags:all"}],"started":"2025-12-15T09:38:00.537317Z","ended":"2025-12-15T09:55:23.220443Z","duration":"00:17:22.683126","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-hosts.yml","controller":"aio1.openstack.local","user":"root"},"content":"---\n# Copyright 2016, Rackspace US, Inc.\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,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n\n- name: Remove conflicting packages\n  ansible.builtin.apt:\n    pkg: \"{{ lxc_hosts_remove_distro_packages }}\"\n    state: absent\n    purge: true\n  tags:\n    - lxc-apt-packages\n\n- name: Install apt packages\n  ansible.builtin.apt:\n    pkg: \"{{ lxc_hosts_distro_packages }}\"\n    state: \"{{ lxc_hosts_package_state }}\"\n    default_release: \"{{ lxc_default_release | default(omit) }}\"\n    update_cache: true\n    policy_rc_d: 101\n    cache_valid_time: \"{{ cache_timeout }}\"\n  register: install_packages\n  until: install_packages is success\n  retries: 5\n  delay: 2\n  tags:\n    - lxc-apt-packages\n\n- name: Drop irqbalance config\n  ansible.builtin.template:\n    src: \"irqbalance.j2\"\n    dest: \"{{ system_config_dir }}/irqbalance\"\n    owner: \"root\"\n    group: \"root\"\n    mode: \"0644\"\n  notify:\n    - Restart irqbalance\n  tags:\n    - lxc-files\n    - lxc-irqbalance\n    - lxc_hosts-config\n\n- name: Drop lxc-openstack apparmor profile\n  ansible.builtin.template:\n    src: \"lxc-openstack.apparmor.j2\"\n    dest: \"/etc/apparmor.d/lxc/lxc-openstack\"\n    owner: \"root\"\n    group: \"root\"\n    mode: \"0644\"\n  notify:\n    - Start apparmor\n    - Reload apparmor\n  tags:\n    - lxc-files\n    - lxc-apparmor\n    - lxc_hosts-config\n\n# NOTE: Addresses packaging bug https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/2110635\n- name: Fix liblxc-common apparmor profiles\n  ansible.builtin.lineinfile:\n    path: /etc/apparmor.d/usr.bin.lxc-copy\n    regexp: \"^/usr/bin/lxc-start flags=\"\n    line: \"/usr/bin/lxc-copy flags=(attach_disconnected) {\"\n    state: present\n  when:\n    - ansible_facts['distribution'] | lower == 'ubuntu'\n    - ansible_facts['distribution_release'] == 'noble'\n  notify:\n    - Reload apparmor\n  tags:\n    - lxc-files\n    - lxc-apparmor\n\n- name: Flush handler to reload apparmor profiles\n  ansible.builtin.meta: flush_handlers\n","created":"2025-12-15T09:41:21.098308Z","updated":"2025-12-15T09:41:21.098336Z","path":"/home/zuul/src/opendev.org/openstack/openstack-ansible-lxc_hosts/tasks/lxc_install_apt.yml"}