{"id":625,"sha1":"a19c344f8c54cb6631262d85d30499cc6c4ea845","playbook":{"id":4,"items":{"plays":32,"tasks":1505,"results":1497,"hosts":12,"files":487,"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-openstack.yml"]},"labels":[{"id":1,"name":"check:False"},{"id":2,"name":"tags:all"}],"started":"2025-12-08T13:57:07.871967Z","ended":"2025-12-08T14:21:54.049657Z","duration":"00:24:46.177690","name":null,"ansible_version":"2.18.6","client_version":"1.7.4","python_version":"3.12.11","server_version":"1.7.4","status":"failed","path":"/home/zuul/src/opendev.org/openstack/openstack-ansible/playbooks/setup-openstack.yml","controller":"aio1.openstack.local","user":"root"},"content":"---\n# Copyright 2015, 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: Copy in sample dhcpd.conf file\n  ansible.builtin.copy:\n    src: \"dhcpd.conf\"\n    dest: \"/etc/dhcp/\"\n    mode: \"0644\"\n  when: ironic_standalone\n  notify:\n    - Restart isc-dhcp-server\n\n- name: Create tftpboot path\n  ansible.builtin.file:\n    path: \"{{ ironic_tftpd_root }}\"\n    state: directory\n    owner: \"{{ ironic_system_user_name }}\"\n    group: \"{{ ironic_system_group_name }}\"\n    mode: \"0755\"\n\n- name: Copy in tftpd-hpa config file\n  ansible.builtin.template:\n    src: \"tftpd-hpa.j2\"\n    dest: \"/etc/default/tftpd-hpa\"\n    mode: \"0644\"\n  when:\n    - ansible_facts['os_family'] == 'Debian'\n  notify:\n    - Restart tftpd\n\n- name: Copy in tftpd map file\n  ansible.builtin.template:\n    src: \"map-file\"\n    dest: \"{{ ironic_tftpd_root }}/map-file\"\n    mode: \"0644\"\n  notify:\n    - Restart tftpd\n\n- name: Copy library modules into tftpboot\n  ansible.builtin.copy:\n    src: \"{{ item }}\"\n    dest: \"{{ ironic_tftpd_root }}/\"\n    remote_src: true\n    mode: \"0644\"\n  with_items: \"{{ ironic_library_modules_paths }}\"\n\n- name: Ensure grub directory exists in tftpboot\n  ansible.builtin.file:\n    path: \"{{ ironic_grub_dir }}\"\n    state: directory\n    recurse: true\n\n- name: Copy PXE grub config into tftpboot\n  ansible.builtin.copy:\n    src: \"grub.conf\"\n    dest: \"{{ ironic_grub_dir }}/grub.cfg\"\n    mode: \"0644\"\n    owner: \"ironic\"\n    group: \"ironic\"\n\n- name: Copy content into tftpboot (files)\n  ansible.builtin.copy:\n    src: \"{{ item.path }}\"\n    dest: \"{{ ironic_tftpd_root }}/{{ item.name }}\"\n    remote_src: true\n    mode: \"0644\"\n  with_items: \"{{ (ironic_uefi_modules + ironic_tftp_extra_content) | selectattr('path', 'defined') | list }}\"\n\n- name: Copy content into tftpboot (urls)\n  ansible.builtin.get_url:\n    url: \"{{ item.url }}\"\n    dest: \"{{ ironic_tftpd_root }}/{{ item.name }}\"\n    mode: \"0644\"\n  with_items: \"{{ (ironic_uefi_modules + ironic_tftp_extra_content) | selectattr('url', 'defined') | list }}\"\n\n- name: Start up tftp\n  ansible.builtin.service:\n    name: \"{{ ironic_tftpd_service_name }}\"\n    state: started\n    enabled: true\n\n- name: Disable default nginx configuration\n  ansible.builtin.file:\n    path: /etc/nginx/sites-enabled/default\n    state: absent\n  when: \"ironic_ipxe_enabled | bool\"\n  notify:\n    - Restart web server\n\n- name: Remove default nginx config\n  ansible.builtin.file:\n    path: /etc/nginx/conf.d/default.conf\n    state: absent\n  when: \"ironic_ipxe_enabled | bool\"\n  notify:\n    - Restart web server\n\n- name: Ensure nginx configuration directories exist\n  ansible.builtin.file:\n    path: \"{{ item }}\"\n    state: directory\n    mode: \"0755\"\n  when: \"ironic_ipxe_enabled | bool\"\n  with_items:\n    - \"/etc/nginx/{{ ironic_nginx_conf_path }}\"\n\n- name: Write alternate nginx.conf for rh like systems\n  ansible.builtin.template:\n    src: nginx-nodefault.conf.j2\n    dest: \"/etc/nginx/nginx-nodefault.conf\"\n    mode: \"0644\"\n  when:\n    - ansible_facts['pkg_mgr'] == 'dnf'\n  notify:\n    - Restart web server\n\n- name: Create systemd dropin for rh like systems\n  ansible.builtin.import_role:\n    name: systemd_service\n  when:\n    - ansible_facts['pkg_mgr'] == 'dnf'\n  vars:\n    systemd_services:\n      - service_name: \"nginx\"\n        systemd_overrides_only: true\n        load: false\n        systemd_overrides:\n          Service:\n            ExecStart:\n              - \"\"\n              - \"/usr/sbin/nginx -c /etc/nginx/nginx-nodefault.conf\"\n  notify:\n    - Restart web server\n\n- name: Configure nginx virtual hosts\n  ansible.builtin.template:\n    src: ironic-ipxe.conf.j2\n    dest: \"/etc/nginx/{{ ironic_nginx_conf_path }}/ironic-ipxe.conf\"\n    mode: \"0644\"\n  when: \"ironic_ipxe_enabled | bool\"\n  notify:\n    - Restart web server\n\n- name: Link to enable nginx virtual hosts\n  ansible.builtin.file:\n    src: \"/etc/nginx/sites-available/ironic-ipxe.conf\"\n    path: \"/etc/nginx/sites-enabled/ironic-ipxe.conf\"\n    state: link\n  when:\n    - ansible_facts['os_family'] == \"Debian\"\n    - \"ironic_ipxe_enabled | bool\"\n  notify:\n    - Restart web server\n","created":"2025-12-08T13:57:18.389631Z","updated":"2025-12-08T13:57:18.389645Z","path":"/home/zuul/src/opendev.org/openstack/openstack-ansible-os_ironic/tasks/ironic_conductor_post_install.yml"}