Skip to content

Update all examples to assume Python 3 by default #93

@ss10sb

Description

@ss10sb

I think it might be worth adding a blurb early on (maybe in the 'creating a basic inventory file' part) about setting ansible to use python 3 by default (for distros that no longer come with 2.7).

For [example], it could be as simple as mentioning you can add a couple of lines to the inventory file like:
[example:vars]
ansible_python_interpreter=/usr/bin/python3

Or even directly to the host line. Just to get things started and not fail immediately on the ping example :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions