{"id":52,"sha1":"7eb72d4fdacdb4f464a7f020003df9e20dc61324","playbook":{"id":2,"items":{"plays":18,"tasks":608,"results":2412,"hosts":15,"files":158,"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":4,"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-08T13:40:18.992997Z","ended":"2025-12-08T13:50:25.791366Z","duration":"00:10:06.798369","name":null,"ansible_version":"2.18.6","client_version":"1.7.4","python_version":"3.12.11","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 2014, 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## Verbosity Options\ndebug: false\n\n## Parameters provided to the wait_for_connection module after a container\n## reboot is triggered by the role\nlxc_container_wait_params:\n  # Wait 3 seconds before attempting the first connection\n  delay: 3\n  # Wait 60 seconds for the container to respond\n  timeout: 60\n\nlxc_container_config: /etc/lxc/lxc-openstack.conf\nlxc_container_config_list: []\nlxc_container_commands: \"\"\nlxc_container_extra_commands: \"{{ _lxc_container_extra_commands | default('echo noop') }}\"\n\n# A list of bind mounts to configure for the container, for example:\n# lxc_container_bind_mounts:\n#   - host_directory: \"/openstack/{{ inventory_hostname }}/mydirectory\"\n#     container_directory: \"/opt/mydirectory\"\nlxc_container_bind_mounts: []\n\nlxc_container_default_bind_mounts:\n  - host_directory: \"/openstack/backup/{{ inventory_hostname }}\"\n    container_directory: \"/var/backup\"\n\n# A list of automatic mounts to be passed to the lxc.mount.auto config key\n# See lxc.container.conf(5)\nlxc_container_mount_auto:\n  - \"proc:mixed\"\n  - \"sys:ro\"\n  - \"cgroup:mixed\"\n\n# When using a base container to snapshot from for the overlayfs or LVM\n# copy-on-write backing stored, the base container prefix/name can be set.\nlxc_container_base_name_prefix: \"\"\nlxc_container_base_name: \"{{ lxc_container_base_name_prefix }}{{ lxc_container_map.distro }}-{{ lxc_container_map.release }}-{{ lxc_container_map.arch }}\"\n\n# Mappings from Ansible reported architecture to distro release architecture\nlxc_architecture_mapping:\n  x86_64: amd64\n  ppc64le: ppc64el\n  s390x: s390x\n  armv7l: armhf\n  aarch64: arm64\n\n# lxc container rootfs directory and cache path\nlxc_container_directory: \"/var/lib/lxc\"\nlxc_container_cache_path: \"/var/cache/lxc\"\nlxc_container_log_path: \"/var/log/lxc\"\nlxc_container_rootfs_directory: \"{{ lxc_container_directory }}/{{ container_name }}/rootfs\"\n\n# container_fs.* is only used with building on an LVM backend\nlxc_container_fs_size: 5G\nlxc_container_fs_type: ext4\n\n# The container creation process now allows ``copy-on-write`` to be set as\n#  the ``lxc_container_backing_method`` when the\n#  ``lxc_container_backing_store`` is set to ``lvm``. When this is set it\n#  will use a snapshot of the base container to build the containers.\nlxc_container_backing_method:\n\n# The container backing store can be set to 'overlayfs' to use overlayfs\n# This should only be done for production use with a linux kernel > 3.14\n# which is when overlayfs was merged into the mainline kernel.\n# lxc_container_backing_store: overlayfs\n# Other store options are: [\"machinectl\", \"btrfs\", \"dir\", \"zfs\", \"lvm\"].\nlxc_container_backing_store: dir\n\n# If the container backing store is LVM, the automatic detection will\n# require the presence of the lxc_container_vg_name volume group. If\n# this is not found then the automatic detection will fail back to\n# using the directory backing.\nlxc_container_vg_name: lxc\n\n# Scripts allowing the configuration of pre/post-up/down scripts.\n# These are run as one shot services before or after networking is available.\nlxc_container_default_preup: []\nlxc_container_default_postup: []\nlxc_container_default_predown: []\nlxc_container_default_postdown: []\n\nlxc_container_default_mtu: \"1500\"\n\nlxc_container_domain: \"openstack.local\"\n\n# LXC image server\nlxc_image_cache_server: images.linuxcontainers.org\n\n## Default download template options\n##  This can be customized to use a local build server and options.\n##  By default these options will be fulfilled by the distro specific\n##  variable files found in vars/\n# lxc_container_download_template_options: >\n#   --dist NAME_OF_DISTRO\n#   --release DISTRO_RELEASE\n#   --arch CONTAINER_ARCH\n#   --force-cache\n#   --server SERVER_TO_GET_IMAGES_FROM\nlxc_container_template: download\nlxc_container_variant: default\nlxc_container_download_template_extra_options: \"\"\nlxc_container_download_template_options: >-\n  --dist {{ lxc_container_map.distro }}\n  --release {{ lxc_container_map.release }}\n  --arch {{ lxc_container_map.arch }}\n  --force-cache\n  --server {{ lxc_image_cache_server }}\n  --variant={{ properties['lxc_container_variant'] | default(lxc_container_variant) }}\n  {{ lxc_container_download_template_extra_options }}\n\n## Default machinectl template options\n##  This can be customized to use a local build server and options.\n##  By default these options will be fulfilled by the distro specific\n##  variable files found in vars/\n# lxc_container_download_template_options: >\n#   --dist NAME_OF_DISTRO\n#   --release DISTRO_RELEASE\n#   --arch CONTAINER_ARCH\nlxc_container_machinectl_template_options: >-\n  --dist {{ lxc_container_map.distro }}\n  --release {{ lxc_container_map.release }}\n  --arch {{ lxc_container_map.arch }}\n  --variant={{ properties['lxc_container_variant'] | default(lxc_container_variant) }}\n  {{ lxc_container_download_template_extra_options }}\n\n# Toggle the restart of containers via the handler.\nlxc_container_allow_restarts: true\n\nlxc_container_network_veth_pair_prefix: \"{{ inventory_hostname[-8:].replace('-', '').replace('_', '') }}\"\nlxc_container_network_veth_pair: \"{{ lxc_container_network_veth_pair_prefix }}_{{ item.value.interface }}\"\n# In order to use \"with_indexed_items\" we need a specific var to reference item.1.interface\n# This is for the container-interface.ini.j2 template only.\nlxc_container_network_veth_pair_indexed: \"{{ lxc_container_network_veth_pair_prefix }}_{{ item.1.interface }}\"\n\n# A default set of container networks used within the LXC containers.\nlxc_container_networks:\n  lxcbr0_address:\n    bridge: \"{{ lxc_net_bridge | default('lxcbr0') }}\"\n    bridge_type: \"{{ lxc_net_bridge_type | default('linuxbridge') }}\"\n    mtu: \"{{ lxc_net_mtu | default(1500) }}\"\n    interface: eth0\n    type: veth\n\n# Enable destroying then recreating containers\nlxc_container_recreate: false\n\n# Enable running the veth wiring script\nlxc_container_veth_wiring: false\n\n# Enable systemd-resolved\nlxc_container_enable_resolved: true\n\n# User defined variable pointing to a specific variable file used when setting\n# up the base container image. Deployers can use the provided container variable\n# files by simply inputting the file name\n# \"{{ ansible_facts['distribution'] }}-{{ ansible_facts['distribution_version'] }}-container.yml\"\n# or by providing the full path to a local file containing all of the variables\n# needed to prepare a container.\n# lxc_user_defined_container: null\n\n# Dictionary of settings for containers\nproperties: {}\n\n# Set \"/var/log/journal/{{ machine_id }}\" to be a bind mount to the physical\n# host. This option will link the container journal and the physical host\n# journals making it possible to log stream from the container on the physical\n# host.\nlxc_container_journal_link: true\n\n# Enable or Disable the BTRFS quota system, which is used for the\n# \"/var/lib/machines\" mount point (for the machinectl backing store), or for\n# any containers with a btrfs backing store. More information on the BTRFS\n# quota system can be found here:\n#  * https://btrfs.wiki.kernel.org/index.php/Quota_support\nlxc_host_btrfs_quota_disabled: false\n\n# Set the default qgroup limits used for btrfs file system quotas. The default\n# is \"none\". See the following documentation for more information:\n#  * https://btrfs.wiki.kernel.org/index.php/Manpage/btrfs-qgroup\nlxc_host_btrfs_qgroup_space_limit: none\nlxc_host_btrfs_qgroup_compression_limit: none\n","created":"2025-12-08T13:40:20.414760Z","updated":"2025-12-08T13:40:20.414773Z","path":"/home/zuul/src/opendev.org/openstack/openstack-ansible-lxc_container_create/defaults/main.yml"}