From Fedora Project Wiki

< Changes

Revision as of 20:48, 23 March 2018 by Kevin (talk | contribs) (initial change page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


Change Proposal Name Ansible python3 default

Summary

Ansible started out as a python2 only application, but in recent years a large amount of work has gone into porting things to python3. Last year, the Fedora ansible package started shipping a ansible-python3 allowing users to switch to python3 on the control host easily if they wished, but left the default as python2. Now in Fedora 29, the default will be switched and the python3 version will be default (but the python2 version will still be shipped for a few releases).

Owner

  • Name: Kevin Fenzi
  • Email: kevin@scrye.com
  • Release notes owner:

Current status

  • Targeted release: Fedora 29
  • Last updated: 2018-03-23
  • Tracker bug: <will be assigned by the Wrangler>

Detailed Description

The Fedora ansible package will be changed to default to python3 with the 'ansible' and python3-ansible packages. The python2 version will still be available to users with ansible-python2 and python2-ansible. Note that this change is on the control host, you can control what python is used on target hosts via your inventory. You may continue to use python2 there, or use python3 as your target hosts require.

Benefit to Fedora

Less python2 usage in the world, along with using the version of python that upstream is preferring. 
 

Scope

  • Proposal owners: Modify ansible package (already done)
  • Other developers: N/A (not a System Wide Change)
  • Policies and guidelines: N/A (not a System Wide Change)
  • Trademark approval: N/A (not needed for this Change)

Upgrade/compatibility impact

N/A (not a System Wide Change)

How To Test

N/A (not a System Wide Change)

User Experience

N/A (not a System Wide Change)

Dependencies

N/A (not a System Wide Change)

Contingency Plan

  • Contingency mechanism: (What to do? Who will do it?) N/A (not a System Wide Change)
  • Contingency deadline: N/A (not a System Wide Change)
  • Blocks release? N/A (not a System Wide Change), Yes/No
  • Blocks product? product

Documentation

See http://docs.ansible.com/ansible/latest/python_3_support.html for more information, including how to set your target hosts to use python2 or 3.

N/A (not a System Wide Change)

Release Notes