all:
  children:
    zuul_unreachable:
      hosts: {}
  hosts:
    debian-bookworm:
      ansible_connection: ssh
      ansible_host: 2a13:1a81:8000:3124:f816:3eff:fe36:df31
      ansible_port: 22
      ansible_python_interpreter: auto
      ansible_user: zuul
      nodepool:
        az: nova
        cloud: regiocloud-a-ci
        external_id: 57284e6a-ebe9-4a8c-8e2b-4987dd680251
        host_id: df70f2a3f3d0c26428f22685cfc722ebc48099d99e7332c39e017195
        interface_ip: 2a13:1a81:8000:3124:f816:3eff:fe36:df31
        label: debian-bookworm
        node_properties: {}
        private_ipv4: 10.128.7.106
        private_ipv6: null
        provider: regiocloud-a
        public_ipv4: 81.163.193.119
        public_ipv6: 2a13:1a81:8000:3124:f816:3eff:fe36:df31
        region: null
        slot: null
  vars:
    zuul:
      _inheritance_path:
      - '<Job base explicit: None implied: {MatchAny:{ImpliedBranchMatcher:main}}
        source: osism/zuul-config/zuul.d/jobs.yaml@main#2>'
      - '<Job ansible-lint explicit: None implied: {MatchAny:{ImpliedBranchMatcher:main}}
        source: osism/zuul-jobs/.zuul.yaml@main#7>'
      - '<Job ansible-lint explicit: None implied: None source: osism/ansible-collection-commons/.zuul.yaml@main#410>'
      ansible_version: '9'
      attempts: 1
      branch: main
      build: 9d57dc8857dc4a07af0a638457e07db3
      build_refs:
      - branch: main
        change: '856'
        change_message: "configuration: preserve local files across configuration
          update\n\n## Problem\n\n`osism apply configuration` checks out the configuration
          repository with `force: true`, which discards local modifications to tracked
          files.\n\nIn a **monorepo setup** (netbox as a directory instead of a submodule),
          `netbox/settings.toml` is tracked in the repository and gets reset to the
          repository placeholder on every update \u2014 dropping the local NetBox
          URL and API token and breaking manager\u2194netbox communication until restored
          manually.\n\nFixes #855\n\n## Change\n\nAdd `configuration_git_preserve_files`
          (default `[]`): the listed files (paths relative to `configuration_directory`)
          are backed up before the force checkout and restored afterwards, so local
          modifications survive an update.\n\nOperators set it in the monorepo case:\n\n```yaml\nconfiguration_git_preserve_files:\n
          \ - netbox/settings.toml\n```\n\nThe backup is an untracked `*.osism-preserve`
          file, which `git reset --hard` (force) does not remove, so it reliably survives
          the checkout and is cleaned up afterwards.\n\n## Both scenarios covered\n\n|
          Scenario | Behavior |\n|---|---|\n| **Submodule** | Unaffected & safe by
          default: the force checkout uses `recursive: false` so the submodule working
          tree is not touched, and `git submodule update` runs without `--force`.
          Setting the variable here is a harmless no-op. |\n| **Monorepo** | `netbox/settings.toml`
          is tracked in the main repo and was overwritten by the force checkout. The
          preserve list keeps the local version. |\n\nDefault `[]` \u2192 no behavior
          change for existing deployments.\n\n## Verification\n\nExercised end-to-end
          through the real `roles/configuration/tasks/update.yml` against local git
          repos:\n\n- Monorepo, preserve **on** \u2192 local token preserved \u2705,
          no stray backup left behind\n- Monorepo, preserve **off** (control) \u2192
          repository placeholder restored = reproduces the bug, proving the preserve
          list does the work \u2705\n- Submodule \u2192 local token preserved both
          after the force checkout and after `git submodule update` \u2705\n\nyamllint
          clean; the existing `configuration` molecule suite is unaffected (empty
          default list = no-op).\n\n\U0001F916 Generated with [Claude Code](https://claude.com/claude-code)"
        change_url: https://github.com/osism/ansible-collection-commons/pull/856
        commit_id: 6c50de6125c845cf7e0e917e76d7045cefe08306
        patchset: 6c50de6125c845cf7e0e917e76d7045cefe08306
        project:
          canonical_hostname: github.com
          canonical_name: github.com/osism/ansible-collection-commons
          name: osism/ansible-collection-commons
          short_name: ansible-collection-commons
        src_dir: src/github.com/osism/ansible-collection-commons
        topic: null
      buildset: 096fbbd566dd4705b53cc6cf16d48d9a
      buildset_refs:
      - branch: main
        change: '856'
        change_message: "configuration: preserve local files across configuration
          update\n\n## Problem\n\n`osism apply configuration` checks out the configuration
          repository with `force: true`, which discards local modifications to tracked
          files.\n\nIn a **monorepo setup** (netbox as a directory instead of a submodule),
          `netbox/settings.toml` is tracked in the repository and gets reset to the
          repository placeholder on every update \u2014 dropping the local NetBox
          URL and API token and breaking manager\u2194netbox communication until restored
          manually.\n\nFixes #855\n\n## Change\n\nAdd `configuration_git_preserve_files`
          (default `[]`): the listed files (paths relative to `configuration_directory`)
          are backed up before the force checkout and restored afterwards, so local
          modifications survive an update.\n\nOperators set it in the monorepo case:\n\n```yaml\nconfiguration_git_preserve_files:\n
          \ - netbox/settings.toml\n```\n\nThe backup is an untracked `*.osism-preserve`
          file, which `git reset --hard` (force) does not remove, so it reliably survives
          the checkout and is cleaned up afterwards.\n\n## Both scenarios covered\n\n|
          Scenario | Behavior |\n|---|---|\n| **Submodule** | Unaffected & safe by
          default: the force checkout uses `recursive: false` so the submodule working
          tree is not touched, and `git submodule update` runs without `--force`.
          Setting the variable here is a harmless no-op. |\n| **Monorepo** | `netbox/settings.toml`
          is tracked in the main repo and was overwritten by the force checkout. The
          preserve list keeps the local version. |\n\nDefault `[]` \u2192 no behavior
          change for existing deployments.\n\n## Verification\n\nExercised end-to-end
          through the real `roles/configuration/tasks/update.yml` against local git
          repos:\n\n- Monorepo, preserve **on** \u2192 local token preserved \u2705,
          no stray backup left behind\n- Monorepo, preserve **off** (control) \u2192
          repository placeholder restored = reproduces the bug, proving the preserve
          list does the work \u2705\n- Submodule \u2192 local token preserved both
          after the force checkout and after `git submodule update` \u2705\n\nyamllint
          clean; the existing `configuration` molecule suite is unaffected (empty
          default list = no-op).\n\n\U0001F916 Generated with [Claude Code](https://claude.com/claude-code)"
        change_url: https://github.com/osism/ansible-collection-commons/pull/856
        commit_id: 6c50de6125c845cf7e0e917e76d7045cefe08306
        patchset: 6c50de6125c845cf7e0e917e76d7045cefe08306
        project:
          canonical_hostname: github.com
          canonical_name: github.com/osism/ansible-collection-commons
          name: osism/ansible-collection-commons
          short_name: ansible-collection-commons
        src_dir: src/github.com/osism/ansible-collection-commons
        topic: null
      change: '856'
      change_message: "configuration: preserve local files across configuration update\n\n##
        Problem\n\n`osism apply configuration` checks out the configuration repository
        with `force: true`, which discards local modifications to tracked files.\n\nIn
        a **monorepo setup** (netbox as a directory instead of a submodule), `netbox/settings.toml`
        is tracked in the repository and gets reset to the repository placeholder
        on every update \u2014 dropping the local NetBox URL and API token and breaking
        manager\u2194netbox communication until restored manually.\n\nFixes #855\n\n##
        Change\n\nAdd `configuration_git_preserve_files` (default `[]`): the listed
        files (paths relative to `configuration_directory`) are backed up before the
        force checkout and restored afterwards, so local modifications survive an
        update.\n\nOperators set it in the monorepo case:\n\n```yaml\nconfiguration_git_preserve_files:\n
        \ - netbox/settings.toml\n```\n\nThe backup is an untracked `*.osism-preserve`
        file, which `git reset --hard` (force) does not remove, so it reliably survives
        the checkout and is cleaned up afterwards.\n\n## Both scenarios covered\n\n|
        Scenario | Behavior |\n|---|---|\n| **Submodule** | Unaffected & safe by default:
        the force checkout uses `recursive: false` so the submodule working tree is
        not touched, and `git submodule update` runs without `--force`. Setting the
        variable here is a harmless no-op. |\n| **Monorepo** | `netbox/settings.toml`
        is tracked in the main repo and was overwritten by the force checkout. The
        preserve list keeps the local version. |\n\nDefault `[]` \u2192 no behavior
        change for existing deployments.\n\n## Verification\n\nExercised end-to-end
        through the real `roles/configuration/tasks/update.yml` against local git
        repos:\n\n- Monorepo, preserve **on** \u2192 local token preserved \u2705,
        no stray backup left behind\n- Monorepo, preserve **off** (control) \u2192
        repository placeholder restored = reproduces the bug, proving the preserve
        list does the work \u2705\n- Submodule \u2192 local token preserved both after
        the force checkout and after `git submodule update` \u2705\n\nyamllint clean;
        the existing `configuration` molecule suite is unaffected (empty default list
        = no-op).\n\n\U0001F916 Generated with [Claude Code](https://claude.com/claude-code)"
      change_url: https://github.com/osism/ansible-collection-commons/pull/856
      child_jobs: []
      commit_id: 6c50de6125c845cf7e0e917e76d7045cefe08306
      event_id: 47a5c420-6a2b-11f1-87c9-e8a128da7f8c
      executor:
        hostname: 521e9411259a
        inventory_file: /var/lib/zuul/builds/9d57dc8857dc4a07af0a638457e07db3/ansible/inventory.yaml
        log_root: /var/lib/zuul/builds/9d57dc8857dc4a07af0a638457e07db3/work/logs
        result_data_file: /var/lib/zuul/builds/9d57dc8857dc4a07af0a638457e07db3/work/results.json
        src_root: /var/lib/zuul/builds/9d57dc8857dc4a07af0a638457e07db3/work/src
        work_root: /var/lib/zuul/builds/9d57dc8857dc4a07af0a638457e07db3/work
      include_vars: []
      items:
      - branch: main
        change: '856'
        change_message: "configuration: preserve local files across configuration
          update\n\n## Problem\n\n`osism apply configuration` checks out the configuration
          repository with `force: true`, which discards local modifications to tracked
          files.\n\nIn a **monorepo setup** (netbox as a directory instead of a submodule),
          `netbox/settings.toml` is tracked in the repository and gets reset to the
          repository placeholder on every update \u2014 dropping the local NetBox
          URL and API token and breaking manager\u2194netbox communication until restored
          manually.\n\nFixes #855\n\n## Change\n\nAdd `configuration_git_preserve_files`
          (default `[]`): the listed files (paths relative to `configuration_directory`)
          are backed up before the force checkout and restored afterwards, so local
          modifications survive an update.\n\nOperators set it in the monorepo case:\n\n```yaml\nconfiguration_git_preserve_files:\n
          \ - netbox/settings.toml\n```\n\nThe backup is an untracked `*.osism-preserve`
          file, which `git reset --hard` (force) does not remove, so it reliably survives
          the checkout and is cleaned up afterwards.\n\n## Both scenarios covered\n\n|
          Scenario | Behavior |\n|---|---|\n| **Submodule** | Unaffected & safe by
          default: the force checkout uses `recursive: false` so the submodule working
          tree is not touched, and `git submodule update` runs without `--force`.
          Setting the variable here is a harmless no-op. |\n| **Monorepo** | `netbox/settings.toml`
          is tracked in the main repo and was overwritten by the force checkout. The
          preserve list keeps the local version. |\n\nDefault `[]` \u2192 no behavior
          change for existing deployments.\n\n## Verification\n\nExercised end-to-end
          through the real `roles/configuration/tasks/update.yml` against local git
          repos:\n\n- Monorepo, preserve **on** \u2192 local token preserved \u2705,
          no stray backup left behind\n- Monorepo, preserve **off** (control) \u2192
          repository placeholder restored = reproduces the bug, proving the preserve
          list does the work \u2705\n- Submodule \u2192 local token preserved both
          after the force checkout and after `git submodule update` \u2705\n\nyamllint
          clean; the existing `configuration` molecule suite is unaffected (empty
          default list = no-op).\n\n\U0001F916 Generated with [Claude Code](https://claude.com/claude-code)"
        change_url: https://github.com/osism/ansible-collection-commons/pull/856
        commit_id: 6c50de6125c845cf7e0e917e76d7045cefe08306
        patchset: 6c50de6125c845cf7e0e917e76d7045cefe08306
        project:
          canonical_hostname: github.com
          canonical_name: github.com/osism/ansible-collection-commons
          name: osism/ansible-collection-commons
          short_name: ansible-collection-commons
          src_dir: src/github.com/osism/ansible-collection-commons
        topic: null
      job: ansible-lint
      jobtags: []
      max_attempts: 3
      message: Y29uZmlndXJhdGlvbjogcHJlc2VydmUgbG9jYWwgZmlsZXMgYWNyb3NzIGNvbmZpZ3VyYXRpb24gdXBkYXRlCgojIyBQcm9ibGVtCgpgb3Npc20gYXBwbHkgY29uZmlndXJhdGlvbmAgY2hlY2tzIG91dCB0aGUgY29uZmlndXJhdGlvbiByZXBvc2l0b3J5IHdpdGggYGZvcmNlOiB0cnVlYCwgd2hpY2ggZGlzY2FyZHMgbG9jYWwgbW9kaWZpY2F0aW9ucyB0byB0cmFja2VkIGZpbGVzLgoKSW4gYSAqKm1vbm9yZXBvIHNldHVwKiogKG5ldGJveCBhcyBhIGRpcmVjdG9yeSBpbnN0ZWFkIG9mIGEgc3VibW9kdWxlKSwgYG5ldGJveC9zZXR0aW5ncy50b21sYCBpcyB0cmFja2VkIGluIHRoZSByZXBvc2l0b3J5IGFuZCBnZXRzIHJlc2V0IHRvIHRoZSByZXBvc2l0b3J5IHBsYWNlaG9sZGVyIG9uIGV2ZXJ5IHVwZGF0ZSDigJQgZHJvcHBpbmcgdGhlIGxvY2FsIE5ldEJveCBVUkwgYW5kIEFQSSB0b2tlbiBhbmQgYnJlYWtpbmcgbWFuYWdlcuKGlG5ldGJveCBjb21tdW5pY2F0aW9uIHVudGlsIHJlc3RvcmVkIG1hbnVhbGx5LgoKRml4ZXMgIzg1NQoKIyMgQ2hhbmdlCgpBZGQgYGNvbmZpZ3VyYXRpb25fZ2l0X3ByZXNlcnZlX2ZpbGVzYCAoZGVmYXVsdCBgW11gKTogdGhlIGxpc3RlZCBmaWxlcyAocGF0aHMgcmVsY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917e76d7045cefe08306
      pipeline: check
      playbook_context:
        playbook_projects:
          trusted/project_0/github.com/osism/zuul-config:
            canonical_name: github.com/osism/zuul-config
            checkout: main
            commit: 3d5c7b5973754999f7005857a00ce9168944f0f1
          trusted/project_1/github.com/osism/openinfra-zuul-jobs:
            canonical_name: github.com/osism/openinfra-zuul-jobs
            checkout: master
            commit: 038dd8b856c62af4433c8477c5cb3d0480847059
          trusted/project_2/github.com/osism/zuul-jobs:
            canonical_name: github.com/osism/zuul-jobs
            checkout: main
            commit: 0c74c57cedff2b36bb37ca68a5338d1c49991496
          untrusted/project_0/github.com/osism/zuul-jobs:
            canonical_name: github.com/osism/zuul-jobs
            checkout: main
            commit: 0c74c57cedff2b36bb37ca68a5338d1c49991496
          untrusted/project_1/github.com/osism/zuul-config:
            canonical_name: github.com/osism/zuul-config
            checkout: main
            commit: 3d5c7b5973754999f7005857a00ce9168944f0f1
          untrusted/project_2/github.com/osism/openinfra-zuul-jobs:
            canonical_name: github.com/osism/openinfra-zuul-jobs
            checkout: master
            commit: 038dd8b856c62af4433c8477c5cb3d0480847059
        playbooks:
        - path: untrusted/project_0/github.com/osism/zuul-jobs/playbooks/ansible-lint/run.yaml
          roles:
          - checkout: main
            checkout_description: zuul branch
            link_name: ansible/playbook_0/role_0/zuul-config
            link_target: untrusted/project_1/github.com/osism/zuul-config
            role_path: ansible/playbook_0/role_0/zuul-config/roles
          - checkout: master
            checkout_description: project default branch
            link_name: ansible/playbook_0/role_1/openinfra-zuul-jobs
            link_target: untrusted/project_2/github.com/osism/openinfra-zuul-jobs
            role_path: ansible/playbook_0/role_1/openinfra-zuul-jobs/roles
          - checkout: main
            checkout_description: playbook branch
            link_name: ansible/playbook_0/role_2/zuul-jobs
            link_target: untrusted/project_0/github.com/osism/zuul-jobs
            role_path: ansible/playbook_0/role_2/zuul-jobs/roles
      post_review: false
      post_timeout: 1800
      pre_timeout: null
      project:
        canonical_hostname: github.com
        canonical_name: github.com/osism/ansible-collection-commons
        name: osism/ansible-collection-commons
        short_name: ansible-collection-commons
        src_dir: src/github.com/osism/ansible-collection-commons
      projects:
        github.com/osism/ansible-collection-commons:
          canonical_hostname: github.com
          canonical_name: github.com/osism/ansible-collection-commons
          checkout: main
          checkout_description: zuul branch
          commit: 49564a268ddcb342ec5c3f97ba8dc290abf342cd
          name: osism/ansible-collection-commons
          required: false
          short_name: ansible-collection-commons
          src_dir: src/github.com/osism/ansible-collection-commons
      ref: refs/pull/856/head
      resources: {}
      tenant: osism
      timeout: 1800
      topic: null
      voting: true
