> For the complete documentation index, see [llms.txt](https://docs.ionos.com/cloud/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ionos.com/cloud/ansible/tutorials/03__jumpbox_with_internal_server/configure-internal-server.yml.md).

# configure-internal-server.yml.md

The source files for this tutorial can be downloaded from its [GitHub repository](https://github.com/ionos-cloud/module-ansible/tree/master/docs/), or cloned into your current working directory using the command `git clone https://github.com/ionos-cloud/module-ansible.git` before changing into the `module-ansible/docs/tutorials/03__jumpbox_with_internal_server` sub-directory.

{% code title="01\_\_create\_jumpbox\_and\_nlb.yml" overflow="wrap" lineNumbers="true" %}

```yml
---
# Unlike main.yml (which communicates with the IONOS CLOUD Ansible module via
# localhost), _this_ playbook is run on the internal server (i.e. the VM that
# has _no_ connection to the Internet) via the jumpbox). Given said lack of
# Internet access, we're not able to, e.g., install or update any software, so
# instead, we will just dump some host information to a file on the internal
# server, and copy it back to our 'local' computer
- hosts: internal

  tasks:
    - name: Log information of interest
      ansible.builtin.blockinfile:
        path: "/tmp/internal-server-hostinfo"
        create: yes
        marker: ""
        block: |
          fqdn: {{ ansible_facts.fqdn }}
          distribution: {{ ansible_distribution_file_variety }} {{ ansible_distribution }} {{ ansible_distribution_version }} {{ ansible_distribution_release }}
          kernel_version: {{ ansible_kernel }} {{ ansible_kernel_version }}
          interfaces: {{ ansible_interfaces }}


    - name: And copy them back to our localhost
      ansible.builtin.fetch:
        src: /tmp/internal-server-hostinfo
        dest: "internal-server-hostinfo.txt"
        flat: yes


```

{% endcode %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.ionos.com/cloud/ansible/tutorials/03__jumpbox_with_internal_server/configure-internal-server.yml.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
