Skip to content

Instantly share code, notes, and snippets.

@weirdbricks
Created October 11, 2014 22:21
Show Gist options
  • Save weirdbricks/18a4bf2c36c73240a6e0 to your computer and use it in GitHub Desktop.
Save weirdbricks/18a4bf2c36c73240a6e0 to your computer and use it in GitHub Desktop.
Install Python on FreeBSD via Ansible
ansible all -m raw -a 'env ASSUME_ALWAYS_YES=YES pkg install python'
freebsd-3 | success | rc=0 >>
Updating FreeBSD repository catalogue...
Fetching meta.txz: 100% 944 B 0.9k/s 00:01
Fetching digests.txz: 100% 2 MB 2.1M/s 00:01
Fetching packagesite.txz: 100% 5 MB 2.7M/s 00:02
Processing new repository entries: 100%
FreeBSD repository update completed. 23551 packages processed:
0 updated, 0 removed and 23551 added.
Updating database digests format: 100%
The following 5 packages will be affected (of 0 checked):
New packages to be INSTALLED:
python: 2.7_2,2
python27: 2.7.8_5
gettext: 0.18.3.1_1
indexinfo: 0.2
python2: 2_3
The process will require 73 MB more space.
11 MB to be downloaded.
Fetching python-2.7_2,2.txz: 100% 984 B 1.0k/s 00:01
Fetching python27-2.7.8_5.txz: 100% 8 MB 4.5M/s 00:02
Fetching gettext-0.18.3.1_1.txz: 100% 2 MB 2.1M/s 00:01
Fetching indexinfo-0.2.txz: 100% 5 KB 4.9k/s 00:01
Fetching python2-2_3.txz: 100% 1 KB 1.1k/s 00:01
Checking integrity... done (0 conflicting)
[1/5] Installing indexinfo-0.2: 100%
[2/5] Installing gettext-0.18.3.1_1: 100%
[3/5] Installing python27-2.7.8_5: 100%
[4/5] Installing python2-2_3: 100%
[5/5] Installing python-2.7_2,2: 100%
freebsd-1 | success | rc=0 >>
Updating FreeBSD repository catalogue...
Fetching meta.txz: 100% 944 B 0.9k/s 00:01
Fetching digests.txz: 100% 2 MB 2.1M/s 00:01
Fetching packagesite.txz: 100% 5 MB 2.7M/s 00:02
Processing new repository entries: 100%
FreeBSD repository update completed. 23551 packages processed:
0 updated, 0 removed and 23551 added.
Updating database digests format: 100%
The following 5 packages will be affected (of 0 checked):
New packages to be INSTALLED:
python: 2.7_2,2
python27: 2.7.8_5
gettext: 0.18.3.1_1
indexinfo: 0.2
python2: 2_3
The process will require 73 MB more space.
11 MB to be downloaded.
Fetching python-2.7_2,2.txz: 100% 984 B 1.0k/s 00:01
Fetching python27-2.7.8_5.txz: 100% 8 MB 3.0M/s 00:03
Fetching gettext-0.18.3.1_1.txz: 100% 2 MB 2.1M/s 00:01
Fetching indexinfo-0.2.txz: 100% 5 KB 4.9k/s 00:01
Fetching python2-2_3.txz: 100% 1 KB 1.1k/s 00:01
Checking integrity... done (0 conflicting)
[1/5] Installing indexinfo-0.2: 100%
[2/5] Installing gettext-0.18.3.1_1: 100%
[3/5] Installing python27-2.7.8_5: 100%
[4/5] Installing python2-2_3: 100%
[5/5] Installing python-2.7_2,2: 100%
freebsd-2 | success | rc=0 >>
Updating FreeBSD repository catalogue...
Fetching meta.txz: 100% 944 B 0.9k/s 00:01
Fetching digests.txz: 100% 2 MB 2.1M/s 00:01
Fetching packagesite.txz: 100% 5 MB 2.7M/s 00:02
Processing new repository entries: 100%
FreeBSD repository update completed. 23551 packages processed:
0 updated, 0 removed and 23551 added.
Updating database digests format: 100%
The following 5 packages will be affected (of 0 checked):
New packages to be INSTALLED:
python: 2.7_2,2
python27: 2.7.8_5
gettext: 0.18.3.1_1
indexinfo: 0.2
python2: 2_3
The process will require 73 MB more space.
11 MB to be downloaded.
Fetching python-2.7_2,2.txz: 100% 984 B 1.0k/s 00:01
Fetching python27-2.7.8_5.txz: 100% 8 MB 3.0M/s 00:03
Fetching gettext-0.18.3.1_1.txz: 100% 2 MB 2.1M/s 00:01
Fetching indexinfo-0.2.txz: 100% 5 KB 4.9k/s 00:01
Fetching python2-2_3.txz: 100% 1 KB 1.1k/s 00:01
Checking integrity... done (0 conflicting)
[1/5] Installing indexinfo-0.2: 100%
[2/5] Installing gettext-0.18.3.1_1: 100%
[3/5] Installing python27-2.7.8_5: 100%
[4/5] Installing python2-2_3: 100%
[5/5] Installing python-2.7_2,2: 100%
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment