Skip to content

Commit

Permalink
Update python
Browse files Browse the repository at this point in the history
  • Loading branch information
mekanix committed Jul 17, 2020
1 parent 8de0088 commit c238562
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 0 deletions.
1 change: 1 addition & 0 deletions freenit/project/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ ansible/inventory/inventory
ansible/roles/*
ansible/site.yml
!ansible/roles/.keep
!ansible/roles/devel
fstab
project.mk
site.retry
Expand Down
5 changes: 5 additions & 0 deletions freenit/project/ansible/roles/devel/tasks/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
- name: install devel packages
with_items: "{{ devel_packages }}"
pkgng:
name: "{{ item.name }}"
9 changes: 9 additions & 0 deletions freenit/project/ansible/roles/devel/vars/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
python_major: 3
python_minor: 7
python_version: "{{ python_major }}.{{ python_minor }}"
python_version_short: "{{ python_major }}{{ python_minor }}"
python_prefix: "py{{ python_version_short }}"
devel_packages:
- name: "{{ python_prefix }}-freenit"
- name: "{{ python_prefix }}-sqlite3"

0 comments on commit c238562

Please sign in to comment.