SHARE
TWEET

Untitled

a guest Jun 18th, 2019 62 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ---
  2. - name: Prepare
  3.   hosts: all
  4.   gather_facts: false
  5.   tasks:
  6.     - name: Install python3
  7.       apt:
  8.         name: "{{ packages }}"
  9.       vars:
  10.         packages:
  11.           - python3-minimal
  12.           - python3-zipstream
  13.           - python3-setuptools
  14.           - python3-pip
  15.       become: true
  16.  
  17.     - name: use python3 by default
  18.       alternatives:
  19.         name: python
  20.         link: /usr/bin/python
  21.         path: /usr/bin/python3
  22.  
  23.     - name: use pip3 by default
  24.       alternatives:
  25.         name: pip
  26.         link: /usr/bin/pip
  27.         path: /usr/bin/pip3
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top