openskills.info
← All tool references

open-source

Ansible Fundamentals

Open, provenance-stamped install, usage, command, settings and footprint reference for Ansible Fundamentals, paired with the Ansible Fundamentals course.

Distribution
open-source
Licence
GPL-3.0
Reference version
Ansible Community Documentation snapshot 2026-07-14
Current upstream version
v2.21.5
Provenance
Captured source data

A newer upstream release postdates this course reference. Review the version before applying the captured instructions.

Install by Target

Official or upstream install sources only. Third-party sources are labelled with their publisher.

Linux Debian family

  • pip

    set -eu
    workspace="${ANSIBLE_DEMO_DIR:-/tmp/openskills-ansible}"
    mkdir -m 700 "$workspace"
    cd "$workspace"
    mkdir -m 700 .ansible-home
    HOME="$PWD/.ansible-home" python3 -m venv .venv
    .venv/bin/python --version
    
    cd "${ANSIBLE_DEMO_DIR:-/tmp/openskills-ansible}" && env HOME="$PWD/.ansible-home" ANSIBLE_CONFIG="$PWD/ansible.cfg" ./.venv/bin/python -m pip --isolated --disable-pip-version-check install --no-input --only-binary=:all: --index-url https://pypi.org/simple ansible==14.2.0 ansible-core==2.21.2

    verified on linux-arm64-spark, 2026-12-01

RPM family

  • pip

    set -eu
    workspace="${ANSIBLE_DEMO_DIR:-/tmp/openskills-ansible}"
    mkdir -m 700 "$workspace"
    cd "$workspace"
    mkdir -m 700 .ansible-home
    HOME="$PWD/.ansible-home" python3 -m venv .venv
    .venv/bin/python --version
    
    cd "${ANSIBLE_DEMO_DIR:-/tmp/openskills-ansible}" && env HOME="$PWD/.ansible-home" ANSIBLE_CONFIG="$PWD/ansible.cfg" ./.venv/bin/python -m pip --isolated --disable-pip-version-check install --no-input --only-binary=:all: --index-url https://pypi.org/simple ansible==14.2.0 ansible-core==2.21.2

    verified on linux-arm64-spark, 2026-12-01

macOS

  • pip

    set -eu
    workspace="${ANSIBLE_DEMO_DIR:-/tmp/openskills-ansible}"
    mkdir -m 700 "$workspace"
    cd "$workspace"
    mkdir -m 700 .ansible-home
    HOME="$PWD/.ansible-home" python3 -m venv .venv
    .venv/bin/python --version
    
    cd "${ANSIBLE_DEMO_DIR:-/tmp/openskills-ansible}" && env HOME="$PWD/.ansible-home" ANSIBLE_CONFIG="$PWD/ansible.cfg" ./.venv/bin/python -m pip --isolated --disable-pip-version-check install --no-input --only-binary=:all: --index-url https://pypi.org/simple ansible==14.2.0 ansible-core==2.21.2

    unverified

Windows

The CLI requires a POSIX control node. Windows can be managed from Linux or macOS. https://raw.githubusercontent.com/ansible/ansible/v2.21.2/lib/ansible/cli/__init__.py

Docker

The community release ships a Python package. This bundle has no upstream controller image pinned to the same community and core versions. https://pypi.org/project/ansible/14.2.0/

Kubernetes

The pinned upstream artifacts are CLI packages. No Kubernetes chart or operator is part of this release. https://pypi.org/project/ansible/14.2.0/

Quickstart Lab

Open Lab variants from Scenarios. Commands are what ran; never retyped.

Linux

sh -c "$(cat <<'OPENSKILLS_LAB_STEP_0'
set -eu
workspace="${ANSIBLE_DEMO_DIR:-/tmp/openskills-ansible}"
mkdir -m 700 "$workspace"
cd "$workspace"
mkdir -m 700 .ansible-home
HOME="$PWD/.ansible-home" python3 -m venv .venv
.venv/bin/python --version
OPENSKILLS_LAB_STEP_0
)"

sh -c "$(cat <<'OPENSKILLS_LAB_STEP_1'
cd "${ANSIBLE_DEMO_DIR:-/tmp/openskills-ansible}" && env HOME="$PWD/.ansible-home" ANSIBLE_CONFIG="$PWD/ansible.cfg" ./.venv/bin/python -m pip --isolated --disable-pip-version-check install --no-input --only-binary=:all: --index-url https://pypi.org/simple ansible==14.2.0 ansible-core==2.21.2
OPENSKILLS_LAB_STEP_1
)"

sh -c "$(cat <<'OPENSKILLS_LAB_STEP_2'
cd "${ANSIBLE_DEMO_DIR:-/tmp/openskills-ansible}" && env HOME="$PWD/.ansible-home" ANSIBLE_CONFIG="$PWD/ansible.cfg" sh -eu <<'OPENSKILLS_FIXTURES'
cat > inventory.ini <<'EOF'
[demo]
localhost ansible_connection=local
EOF
cat > ansible.cfg <<'EOF'
[defaults]
inventory = ./inventory.ini
forks = 8
EOF
cat > site.yml <<'EOF'
- name: Manage a local fixture
  hosts: demo
  gather_facts: false
  tasks:
    - name: Write the demonstration file
      ansible.builtin.copy:
        content: "Managed by Ansible\n"
        dest: "{{ playbook_dir }}/managed.txt"
        mode: "0600"
EOF
printf '%s\n' 'Inventory, configuration and playbook created'
OPENSKILLS_FIXTURES
OPENSKILLS_LAB_STEP_2
)"

sh -c "$(cat <<'OPENSKILLS_LAB_STEP_3'
cd "${ANSIBLE_DEMO_DIR:-/tmp/openskills-ansible}" && env HOME="$PWD/.ansible-home" ANSIBLE_CONFIG="$PWD/ansible.cfg" ./.venv/bin/ansible --version
OPENSKILLS_LAB_STEP_3
)"

sh -c "$(cat <<'OPENSKILLS_LAB_STEP_4'
cd "${ANSIBLE_DEMO_DIR:-/tmp/openskills-ansible}" && env HOME="$PWD/.ansible-home" ANSIBLE_CONFIG="$PWD/ansible.cfg" ./.venv/bin/ansible-playbook site.yml
OPENSKILLS_LAB_STEP_4
)"

sh -c "$(cat <<'OPENSKILLS_LAB_STEP_5'
cd "${ANSIBLE_DEMO_DIR:-/tmp/openskills-ansible}" && env HOME="$PWD/.ansible-home" ANSIBLE_CONFIG="$PWD/ansible.cfg" cat managed.txt
OPENSKILLS_LAB_STEP_5
)"

sh -c "$(cat <<'OPENSKILLS_LAB_STEP_6'
cd "${ANSIBLE_DEMO_DIR:-/tmp/openskills-ansible}" && env HOME="$PWD/.ansible-home" ANSIBLE_CONFIG="$PWD/ansible.cfg" ./.venv/bin/ansible-playbook site.yml
OPENSKILLS_LAB_STEP_6
)"

sh -c "$(cat <<'OPENSKILLS_LAB_STEP_7'
set -eu
workspace="${ANSIBLE_DEMO_DIR:-/tmp/openskills-ansible}"
mkdir -m 700 "$workspace"
cd "$workspace"
mkdir -m 700 .ansible-home
HOME="$PWD/.ansible-home" python3 -m venv .venv
.venv/bin/python --version
OPENSKILLS_LAB_STEP_7
)"

sh -c "$(cat <<'OPENSKILLS_LAB_STEP_8'
cd "${ANSIBLE_DEMO_DIR:-/tmp/openskills-ansible}" && env HOME="$PWD/.ansible-home" ANSIBLE_CONFIG="$PWD/ansible.cfg" ./.venv/bin/python -m pip --isolated --disable-pip-version-check install --no-input --only-binary=:all: --index-url https://pypi.org/simple ansible==14.2.0 ansible-core==2.21.2
OPENSKILLS_LAB_STEP_8
)"

sh -c "$(cat <<'OPENSKILLS_LAB_STEP_9'
cd "${ANSIBLE_DEMO_DIR:-/tmp/openskills-ansible}" && env HOME="$PWD/.ansible-home" ANSIBLE_CONFIG="$PWD/ansible.cfg" sh -eu <<'OPENSKILLS_FIXTURES'
cat > inventory.ini <<'EOF'
[demo]
localhost ansible_connection=local
EOF
cat > ansible.cfg <<'EOF'
[defaults]
inventory = ./inventory.ini
forks = 8
EOF
cat > site.yml <<'EOF'
- name: Manage a local fixture
  hosts: demo
  gather_facts: false
  tasks:
    - name: Write the demonstration file
      ansible.builtin.copy:
        content: "Managed by Ansible\n"
        dest: "{{ playbook_dir }}/managed.txt"
        mode: "0600"
EOF
printf '%s\n' 'Inventory, configuration and playbook created'
OPENSKILLS_FIXTURES
OPENSKILLS_LAB_STEP_9
)"

sh -c "$(cat <<'OPENSKILLS_LAB_STEP_10'
cd "${ANSIBLE_DEMO_DIR:-/tmp/openskills-ansible}" && env HOME="$PWD/.ansible-home" ANSIBLE_CONFIG="$PWD/ansible.cfg" ./.venv/bin/ansible --version
OPENSKILLS_LAB_STEP_10
)"

sh -c "$(cat <<'OPENSKILLS_LAB_STEP_11'
cd "${ANSIBLE_DEMO_DIR:-/tmp/openskills-ansible}" && env HOME="$PWD/.ansible-home" ANSIBLE_CONFIG="$PWD/ansible.cfg" ./.venv/bin/ansible-playbook site.yml
OPENSKILLS_LAB_STEP_11
)"

sh -c "$(cat <<'OPENSKILLS_LAB_STEP_12'
cd "${ANSIBLE_DEMO_DIR:-/tmp/openskills-ansible}" && env HOME="$PWD/.ansible-home" ANSIBLE_CONFIG="$PWD/ansible.cfg" cat managed.txt
OPENSKILLS_LAB_STEP_12
)"

sh -c "$(cat <<'OPENSKILLS_LAB_STEP_13'
cd "${ANSIBLE_DEMO_DIR:-/tmp/openskills-ansible}" && env HOME="$PWD/.ansible-home" ANSIBLE_CONFIG="$PWD/ansible.cfg" ./.venv/bin/ansible-playbook site.yml
OPENSKILLS_LAB_STEP_13
)"

verified on linux-arm64-spark, 2026-12-01

Helm

The pinned upstream artifacts are CLI packages. No Kubernetes chart or operator is part of this release. https://pypi.org/project/ansible/14.2.0/

Usage recipes

Lifecycle recipes with a Target access preamble. Choose a Target to see the command that runs there.

Install

Install Ansible Community 14.2.0 and pin the core patch.

verified on linux-arm64-spark, 2026-12-01

Linux Debian familyRPM familymacOS

  • Linux Debian family
    cd "${ANSIBLE_DEMO_DIR:-/tmp/openskills-ansible}" && env HOME="$PWD/.ansible-home" ANSIBLE_CONFIG="$PWD/ansible.cfg" ./.venv/bin/python -m pip --isolated --disable-pip-version-check install --no-input --only-binary=:all: --index-url https://pypi.org/simple ansible==14.2.0 ansible-core==2.21.2
  • RPM family
    cd "${ANSIBLE_DEMO_DIR:-/tmp/openskills-ansible}" && env HOME="$PWD/.ansible-home" ANSIBLE_CONFIG="$PWD/ansible.cfg" ./.venv/bin/python -m pip --isolated --disable-pip-version-check install --no-input --only-binary=:all: --index-url https://pypi.org/simple ansible==14.2.0 ansible-core==2.21.2
  • macOS
    cd "${ANSIBLE_DEMO_DIR:-/tmp/openskills-ansible}" && env HOME="$PWD/.ansible-home" ANSIBLE_CONFIG="$PWD/ansible.cfg" ./.venv/bin/python -m pip --isolated --disable-pip-version-check install --no-input --only-binary=:all: --index-url https://pypi.org/simple ansible==14.2.0 ansible-core==2.21.2

Configure

Show overrides from the demo controller configuration.

verified on linux-arm64-spark, 2026-12-01

Linux Debian familyRPM familymacOS

  • Linux Debian family
    cd "${ANSIBLE_DEMO_DIR:-/tmp/openskills-ansible}" && env HOME="$PWD/.ansible-home" ANSIBLE_CONFIG="$PWD/ansible.cfg" ./.venv/bin/ansible-config dump --only-changed
  • RPM family
    cd "${ANSIBLE_DEMO_DIR:-/tmp/openskills-ansible}" && env HOME="$PWD/.ansible-home" ANSIBLE_CONFIG="$PWD/ansible.cfg" ./.venv/bin/ansible-config dump --only-changed
  • macOS
    cd "${ANSIBLE_DEMO_DIR:-/tmp/openskills-ansible}" && env HOME="$PWD/.ansible-home" ANSIBLE_CONFIG="$PWD/ansible.cfg" ./.venv/bin/ansible-config dump --only-changed

Inspect

Print the demo inventory as a group hierarchy.

verified on linux-arm64-spark, 2026-12-01

Linux Debian familyRPM familymacOS

  • Linux Debian family
    cd "${ANSIBLE_DEMO_DIR:-/tmp/openskills-ansible}" && env HOME="$PWD/.ansible-home" ANSIBLE_CONFIG="$PWD/ansible.cfg" ./.venv/bin/ansible-inventory --graph
  • RPM family
    cd "${ANSIBLE_DEMO_DIR:-/tmp/openskills-ansible}" && env HOME="$PWD/.ansible-home" ANSIBLE_CONFIG="$PWD/ansible.cfg" ./.venv/bin/ansible-inventory --graph
  • macOS
    cd "${ANSIBLE_DEMO_DIR:-/tmp/openskills-ansible}" && env HOME="$PWD/.ansible-home" ANSIBLE_CONFIG="$PWD/ansible.cfg" ./.venv/bin/ansible-inventory --graph

List collections installed with Ansible Community.

verified on linux-arm64-spark, 2026-12-01

Linux Debian familyRPM familymacOS

  • Linux Debian family
    cd "${ANSIBLE_DEMO_DIR:-/tmp/openskills-ansible}" && env HOME="$PWD/.ansible-home" ANSIBLE_CONFIG="$PWD/ansible.cfg" ./.venv/bin/ansible-galaxy collection list
  • RPM family
    cd "${ANSIBLE_DEMO_DIR:-/tmp/openskills-ansible}" && env HOME="$PWD/.ansible-home" ANSIBLE_CONFIG="$PWD/ansible.cfg" ./.venv/bin/ansible-galaxy collection list
  • macOS
    cd "${ANSIBLE_DEMO_DIR:-/tmp/openskills-ansible}" && env HOME="$PWD/.ansible-home" ANSIBLE_CONFIG="$PWD/ansible.cfg" ./.venv/bin/ansible-galaxy collection list

Check the installed documentation for the copy module.

verified on linux-arm64-spark, 2026-12-01

Linux Debian familyRPM familymacOS

  • Linux Debian family
    cd "${ANSIBLE_DEMO_DIR:-/tmp/openskills-ansible}" && env HOME="$PWD/.ansible-home" ANSIBLE_CONFIG="$PWD/ansible.cfg" ./.venv/bin/ansible-doc -s ansible.builtin.copy
  • RPM family
    cd "${ANSIBLE_DEMO_DIR:-/tmp/openskills-ansible}" && env HOME="$PWD/.ansible-home" ANSIBLE_CONFIG="$PWD/ansible.cfg" ./.venv/bin/ansible-doc -s ansible.builtin.copy
  • macOS
    cd "${ANSIBLE_DEMO_DIR:-/tmp/openskills-ansible}" && env HOME="$PWD/.ansible-home" ANSIBLE_CONFIG="$PWD/ansible.cfg" ./.venv/bin/ansible-doc -s ansible.builtin.copy

Operate

Check that Ansible can execute a Python module on the local managed node.

verified on linux-arm64-spark, 2026-12-01

Linux Debian familyRPM familymacOS

  • Linux Debian family
    cd "${ANSIBLE_DEMO_DIR:-/tmp/openskills-ansible}" && env HOME="$PWD/.ansible-home" ANSIBLE_CONFIG="$PWD/ansible.cfg" ./.venv/bin/ansible demo -m ansible.builtin.ping
  • RPM family
    cd "${ANSIBLE_DEMO_DIR:-/tmp/openskills-ansible}" && env HOME="$PWD/.ansible-home" ANSIBLE_CONFIG="$PWD/ansible.cfg" ./.venv/bin/ansible demo -m ansible.builtin.ping
  • macOS
    cd "${ANSIBLE_DEMO_DIR:-/tmp/openskills-ansible}" && env HOME="$PWD/.ansible-home" ANSIBLE_CONFIG="$PWD/ansible.cfg" ./.venv/bin/ansible demo -m ansible.builtin.ping

Apply the playbook to the disposable local managed node.

verified on linux-arm64-spark, 2026-12-01

Linux Debian familyRPM familymacOS

  • Linux Debian family
    cd "${ANSIBLE_DEMO_DIR:-/tmp/openskills-ansible}" && env HOME="$PWD/.ansible-home" ANSIBLE_CONFIG="$PWD/ansible.cfg" ./.venv/bin/ansible-playbook site.yml
  • RPM family
    cd "${ANSIBLE_DEMO_DIR:-/tmp/openskills-ansible}" && env HOME="$PWD/.ansible-home" ANSIBLE_CONFIG="$PWD/ansible.cfg" ./.venv/bin/ansible-playbook site.yml
  • macOS
    cd "${ANSIBLE_DEMO_DIR:-/tmp/openskills-ansible}" && env HOME="$PWD/.ansible-home" ANSIBLE_CONFIG="$PWD/ansible.cfg" ./.venv/bin/ansible-playbook site.yml

Change

Preview the file change and its diff without writing the managed file.

verified on linux-arm64-spark, 2026-12-01

Linux Debian familyRPM familymacOS

  • Linux Debian family
    cd "${ANSIBLE_DEMO_DIR:-/tmp/openskills-ansible}" && env HOME="$PWD/.ansible-home" ANSIBLE_CONFIG="$PWD/ansible.cfg" ./.venv/bin/ansible-playbook --check --diff site.yml
  • RPM family
    cd "${ANSIBLE_DEMO_DIR:-/tmp/openskills-ansible}" && env HOME="$PWD/.ansible-home" ANSIBLE_CONFIG="$PWD/ansible.cfg" ./.venv/bin/ansible-playbook --check --diff site.yml
  • macOS
    cd "${ANSIBLE_DEMO_DIR:-/tmp/openskills-ansible}" && env HOME="$PWD/.ansible-home" ANSIBLE_CONFIG="$PWD/ansible.cfg" ./.venv/bin/ansible-playbook --check --diff site.yml

Troubleshoot

Parse the playbook without running tasks.

verified on linux-arm64-spark, 2026-12-01

Linux Debian familyRPM familymacOS

  • Linux Debian family
    cd "${ANSIBLE_DEMO_DIR:-/tmp/openskills-ansible}" && env HOME="$PWD/.ansible-home" ANSIBLE_CONFIG="$PWD/ansible.cfg" ./.venv/bin/ansible-playbook --syntax-check site.yml
  • RPM family
    cd "${ANSIBLE_DEMO_DIR:-/tmp/openskills-ansible}" && env HOME="$PWD/.ansible-home" ANSIBLE_CONFIG="$PWD/ansible.cfg" ./.venv/bin/ansible-playbook --syntax-check site.yml
  • macOS
    cd "${ANSIBLE_DEMO_DIR:-/tmp/openskills-ansible}" && env HOME="$PWD/.ansible-home" ANSIBLE_CONFIG="$PWD/ansible.cfg" ./.venv/bin/ansible-playbook --syntax-check site.yml

Inspect the tasks Ansible finds in the playbook.

verified on linux-arm64-spark, 2026-12-01

Linux Debian familyRPM familymacOS

  • Linux Debian family
    cd "${ANSIBLE_DEMO_DIR:-/tmp/openskills-ansible}" && env HOME="$PWD/.ansible-home" ANSIBLE_CONFIG="$PWD/ansible.cfg" ./.venv/bin/ansible-playbook --list-tasks site.yml
  • RPM family
    cd "${ANSIBLE_DEMO_DIR:-/tmp/openskills-ansible}" && env HOME="$PWD/.ansible-home" ANSIBLE_CONFIG="$PWD/ansible.cfg" ./.venv/bin/ansible-playbook --list-tasks site.yml
  • macOS
    cd "${ANSIBLE_DEMO_DIR:-/tmp/openskills-ansible}" && env HOME="$PWD/.ansible-home" ANSIBLE_CONFIG="$PWD/ansible.cfg" ./.venv/bin/ansible-playbook --list-tasks site.yml

Upgrade

Upgrade the isolated demonstration from Ansible 14.1.0 to 14.2.0.

verified on linux-arm64-spark, 2026-12-01

Linux Debian familyRPM familymacOS

  • Linux Debian family
    cd "${ANSIBLE_DEMO_DIR:-/tmp/openskills-ansible}" && env HOME="$PWD/.ansible-home" ANSIBLE_CONFIG="$PWD/ansible.cfg" ./.venv/bin/python -m pip --isolated --disable-pip-version-check install --no-input --only-binary=:all: --index-url https://pypi.org/simple --upgrade ansible==14.2.0 ansible-core==2.21.2
  • RPM family
    cd "${ANSIBLE_DEMO_DIR:-/tmp/openskills-ansible}" && env HOME="$PWD/.ansible-home" ANSIBLE_CONFIG="$PWD/ansible.cfg" ./.venv/bin/python -m pip --isolated --disable-pip-version-check install --no-input --only-binary=:all: --index-url https://pypi.org/simple --upgrade ansible==14.2.0 ansible-core==2.21.2
  • macOS
    cd "${ANSIBLE_DEMO_DIR:-/tmp/openskills-ansible}" && env HOME="$PWD/.ansible-home" ANSIBLE_CONFIG="$PWD/ansible.cfg" ./.venv/bin/python -m pip --isolated --disable-pip-version-check install --no-input --only-binary=:all: --index-url https://pypi.org/simple --upgrade ansible==14.2.0 ansible-core==2.21.2

Remove

Uninstall Ansible and ansible-core from the demonstration environment.

verified on linux-arm64-spark, 2026-12-01

Linux Debian familyRPM familymacOS

  • Linux Debian family
    cd "${ANSIBLE_DEMO_DIR:-/tmp/openskills-ansible}" && env HOME="$PWD/.ansible-home" ANSIBLE_CONFIG="$PWD/ansible.cfg" ./.venv/bin/python -m pip --isolated --disable-pip-version-check uninstall --yes ansible ansible-core
  • RPM family
    cd "${ANSIBLE_DEMO_DIR:-/tmp/openskills-ansible}" && env HOME="$PWD/.ansible-home" ANSIBLE_CONFIG="$PWD/ansible.cfg" ./.venv/bin/python -m pip --isolated --disable-pip-version-check uninstall --yes ansible ansible-core
  • macOS
    cd "${ANSIBLE_DEMO_DIR:-/tmp/openskills-ansible}" && env HOME="$PWD/.ansible-home" ANSIBLE_CONFIG="$PWD/ansible.cfg" ./.venv/bin/python -m pip --isolated --disable-pip-version-check uninstall --yes ansible ansible-core

Commands

  • ansible
    • <pattern> Select the hosts or groups for the ad hoc task.
    • --inventory Read an inventory path or an inline host list.
    • --module-name Select the module by name.
    • --args Pass module arguments.
    • --connection Choose a connection plugin such as ssh or local.
    • --forks Set the parallel worker count.
  • ansible-playbook
    • <playbook> Pass one or more playbook files.
    • --inventory Read an inventory path or an inline host list.
    • --syntax-check Parse the playbook without executing tasks.
    • --check Ask modules to predict changes where check mode is supported.
    • --diff Show changes from modules that support diff output.
    • --limit Restrict execution to an inventory pattern.
    • --list-tasks List tasks selected by the playbook.
    • --tags Select tasks by tag.
  • ansible-inventory
    • --inventory Read an inventory path or an inline host list.
    • --graph Print the inventory group hierarchy.
    • --list Print the resolved inventory.
    • --host Print the data for one inventory host.
  • ansible-config
    • view Display the active configuration file.
    • dump Display settings and resolved values.
    • list Show supported settings.
    • init Generate a configuration template.
  • ansible-doc
    • --list List plugins of the selected type.
    • --type Select a plugin type such as module, lookup or connection.
  • ansible-galaxy
    • collection Manage collections and their dependencies.
    • role Manage standalone roles.
  • ansible-vault
    • encrypt Encrypt files in place.
    • encrypt_string Encrypt a value for use in YAML.
    • decrypt Remove Vault encryption from files.
    • view Display the decrypted content of a file.
    • edit Edit encrypted files using a local editor.
    • rekey Replace the Vault secret used to encrypt files.
    • create Create a new encrypted file.
  • ansible-console
  • ansible-pull

Settings

Configuration keys grouped by file or scope. Defaults carry the version they were recorded against.

environment

KeyTypeDefaultChange effectSource
ANSIBLE_CONFIGstringsource
ANSIBLE_FORKSintegersource
ANSIBLE_HOST_KEY_CHECKINGbooleansource
ANSIBLE_TIMEOUTintegersource
ANSIBLE_PYTHON_INTERPRETERstringsource
ANSIBLE_LOG_PATHstringsource
ANSIBLE_LOCAL_TEMPstringsource
ANSIBLE_VAULT_PASSWORD_FILEstringsource

ansible.cfg

KeyTypeDefaultChange effectSource
defaults.forksinteger5 (as of 2.21.2)source
defaults.host_key_checkingbooleantrue (as of 2.21.2)source
defaults.timeoutinteger10 (as of 2.21.2)source
defaults.interpreter_pythonstringauto (as of 2.21.2)source
defaults.log_pathstringnull (as of 2.21.2)source
defaults.local_tmpstring~/.ansible/tmp (as of 2.21.2)source
defaults.vault_password_filestringnull (as of 2.21.2)source

Footprint

Files, directories, services and ports on each OS or provider. Paths are as recorded; unverified nodes stay labelled until Evidence backs them.

Default

Files

  • project-config

    ./ansible.cfg

    Source

  • user-config

    ~/.ansible.cfg

    Source

  • system-config

    /etc/ansible/ansible.cfg

    Source

  • default-inventory

    /etc/ansible/hosts

    Source

Directories

  • controller-state

    ~/.ansible

    Source

  • controller-temp

    ~/.ansible/tmp

    Source

  • user-collections

    ~/.ansible/collections

    Source

  • system-collections

    /usr/share/ansible/collections

    Source

  • user-roles

    ~/.ansible/roles

    Source

  • system-roles

    /usr/share/ansible/roles

    Source

  • site-roles

    /etc/ansible/roles

    Source

Feeds

OSV

As of , cached live. Status: current.

OSV returned 14 records.

These are source records, not a verdict on whether the taught version is affected. Inspect the full OSV record before acting.

  • GHSA-32p4-gm2c-wmch

    ansible-core Incorrect Authorization vulnerability

    Published

    Severity as published: CVSS_V3: CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:L; CVSS_V4: CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:A/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N

    • pkg:pypi/ansible-core: ECOSYSTEM; introduced: 0; fixed: 2.14.18rc1
    • pkg:pypi/ansible-core: ECOSYSTEM; introduced: 2.15.0b1; fixed: 2.15.13rc1
    • pkg:pypi/ansible-core: ECOSYSTEM; introduced: 2.16.0b1; fixed: 2.16.13rc1
    • pkg:pypi/ansible-core: ECOSYSTEM; introduced: 2.17.0b1; fixed: 2.17.6rc1
    • pkg:pypi/ansible-core: ECOSYSTEM; introduced: 2.18.0b1; fixed: 2.18.0rc2
  • GHSA-7j69-qfc3-2fq9

    Ansible template injection vulnerability

    Published

    Severity as published: CVSS_V3: CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N

    • pkg:pypi/ansible-core: ECOSYSTEM; introduced: 2.16.0; fixed: 2.16.1
    • pkg:pypi/ansible-core: ECOSYSTEM; introduced: 2.15.0; fixed: 2.15.8
    • pkg:pypi/ansible-core: ECOSYSTEM; introduced: 0; fixed: 2.14.12
  • GHSA-99w6-3xph-cx78

    Ansible-Core vulnerable to content protections bypass

    Published

    Severity as published: CVSS_V3: CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:L; CVSS_V4: CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:P/VC:L/VI:L/VA:L/SC:L/SI:L/SA:L/E:P

    • pkg:pypi/ansible-core: ECOSYSTEM; introduced: 2.18.0b1; fixed: 2.18.1rc1
    • pkg:pypi/ansible-core: ECOSYSTEM; introduced: 2.17.0b1; fixed: 2.17.7rc1
    • pkg:pypi/ansible-core: ECOSYSTEM; introduced: 0; fixed: 2.16.14rc1
  • GHSA-h24r-m9qc-pvpg

    Ansible-core information disclosure flaw

    Published

    Severity as published: CVSS_V3: CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N

    • pkg:pypi/ansible-core: ECOSYSTEM; introduced: 0; fixed: 2.14.14
    • pkg:pypi/ansible-core: ECOSYSTEM; introduced: 2.16.0; fixed: 2.16.3
    • pkg:pypi/ansible-core: ECOSYSTEM; introduced: 2.15.0; fixed: 2.15.9
  • GHSA-jpxc-vmjf-9fcj

    Ansible vulnerable to Insertion of Sensitive Information into Log File

    Published

    Severity as published: CVSS_V3: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N; CVSS_V4: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

    • pkg:pypi/ansible-core: ECOSYSTEM; introduced: 2.17.0b1; fixed: 2.17.6
    • pkg:pypi/ansible-core: ECOSYSTEM; introduced: 0; fixed: 2.16.13
  • GHSA-w8p5-mx5w-cpqj

    ansible-core: Argument injection in ansible-galaxy role install leads to arbitrary code execution

    Published

    Severity as published: CVSS_V3: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

    • pkg:pypi/ansible-core: ECOSYSTEM; introduced: 0; fixed: 2.16.19rc1
    • pkg:pypi/ansible-core: ECOSYSTEM; introduced: 2.17.0b1; fixed: 2.18.18rc1
    • pkg:pypi/ansible-core: ECOSYSTEM; introduced: 2.19.0b1; fixed: 2.19.11rc1
    • pkg:pypi/ansible-core: ECOSYSTEM; introduced: 2.20.0b1; fixed: 2.20.7rc1
    • pkg:pypi/ansible-core: ECOSYSTEM; introduced: 2.21.0b1; fixed: 2.21.1rc1
  • GHSA-ww3m-ffrm-qvqv

    Ansible may expose private key

    Published

    Severity as published: CVSS_V3: CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H

    • pkg:pypi/ansible-core: ECOSYSTEM; introduced: 2.8.0; last_affected: 2.15.2
  • PYSEC-2024-36

    Published

    Severity as published: CVSS_V3: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

    • pkg:pypi/ansible-core: ECOSYSTEM; introduced: 0; fixed: 2.14.4; introduced: 2.15.0; fixed: 2.15.9; introduced: 2.16.0; fixed: 2.16.3
  • PYSEC-2026-1121

    ansible-core Incorrect Authorization vulnerability

    Published

    Severity as published: CVSS_V3: CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:L; CVSS_V4: CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:A/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N

    • pkg:pypi/ansible-core: ECOSYSTEM; introduced: 0; fixed: 2.14.18rc1; introduced: 2.15.0b1; fixed: 2.15.13rc1; introduced: 2.16.0b1; fixed: 2.16.13rc1; introduced: 2.17.0b1; fixed: 2.17.6rc1; introduced: 2.18.0b1; fixed: 2.18.0rc2
  • PYSEC-2026-1122

    Ansible template injection vulnerability

    Published

    Severity as published: CVSS_V3: CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N

    • pkg:pypi/ansible-core: ECOSYSTEM; introduced: 0; fixed: 2.14.12; introduced: 2.15.0; fixed: 2.15.8; introduced: 2.16.0; fixed: 2.16.1
  • PYSEC-2026-1123

    Ansible-Core vulnerable to content protections bypass

    Published

    Severity as published: CVSS_V3: CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:L; CVSS_V4: CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:P/VC:L/VI:L/VA:L/SC:L/SI:L/SA:L/E:P

    • pkg:pypi/ansible-core: ECOSYSTEM; introduced: 0; fixed: 2.16.14rc1; introduced: 2.17.0b1; fixed: 2.17.7rc1; introduced: 2.18.0b1; fixed: 2.18.1rc1
  • PYSEC-2026-1124

    Ansible vulnerable to Insertion of Sensitive Information into Log File

    Published

    Severity as published: CVSS_V3: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N; CVSS_V4: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

    • pkg:pypi/ansible-core: ECOSYSTEM; introduced: 0; fixed: 2.16.13; introduced: 2.17.0b1; fixed: 2.17.6
  • PYSEC-2026-1125

    Ansible may expose private key

    Published

    Severity as published: CVSS_V3: CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H

    • pkg:pypi/ansible-core: ECOSYSTEM; introduced: 2.8.0; last_affected: 2.15.2
  • PYSEC-2026-3458

    ansible-core: Argument injection in ansible-galaxy role install leads to arbitrary code execution

    Published

    Severity as published: CVSS_V3: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

    • pkg:pypi/ansible-core: ECOSYSTEM; introduced: 0; fixed: 2.16.19rc1; introduced: 2.17.0b1; fixed: 2.18.18rc1; introduced: 2.19.0b1; fixed: 2.19.11rc1; introduced: 2.20.0b1; fixed: 2.20.7rc1; introduced: 2.21.0b1; fixed: 2.21.1rc1

endoflife.date

not tracked

Project activity

Repository snapshot is temporarily unavailable.

Relations

  • Red Hat Ansible Automation Platform

    integration (course-scoped), integration-listing

    Source basis
  • AWX

    integration (course-scoped), integration-listing

    Source basis
  • Semaphore UI

    integration (course-scoped), integration-listing

    Source basis
  • Jenkins

    integration (course-scoped), integration-listing

    Source basis
  • GitLab

    integration (course-scoped), integration-listing

    Source basis
  • Molecule

    integration (course-scoped), integration-listing

    Source basis

Course guides

No public HOWTO titles are available yet.

Learn Ansible Fundamentals in the owner course →