Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updating mysql config for ansible; Jammy OS update #13

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ services: docker
env:
- distro: ubuntu1404
- distro: ubuntu1804
- distro: ubuntu2204

script:
# Run tests.
Expand Down
6 changes: 4 additions & 2 deletions defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,10 @@ python_version: ''
# Internals
python_major_version: "{{python_version[0]}}"
python_path: "{{python_configure_prefix}}/bin/python{{python_major_version}}"
python_pip_prefix: '/usr/local'
python_pip_path: "{{python_pip_prefix}}/bin/pip{{python_major_version}}"

python_lib_prefix: '/usr/local'
python_pip_path: "{{python_lib_prefix}}/bin/pip{{python_major_version}}"

python_tar_dir: "Python-{{python_version}}"
python_tar_url: "https://www.python.org/ftp/python/{{python_version}}/{{python_tar_dir}}.tgz"

Expand Down
1 change: 1 addition & 0 deletions meta/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ galaxy_info:
versions:
- bionic
- trusty
- jammy

galaxy_tags:
- python
3 changes: 0 additions & 3 deletions tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,6 @@
mode: 0644
when: python_pip_config is defined

- name: Enusre pip is upgraded
pip: name=pip state=latest executable="{{python_pip_path}}" umask="{{python_pip_umask}}"

# Install packages
- name: Install virtualenv
pip: name=virtualenv executable="{{python_pip_path}}" umask="{{python_pip_umask}}"
Expand Down
17 changes: 17 additions & 0 deletions vars/jammy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---
python_dependencies:
- build-essential
- libbz2-1.0
- libc6
- libdb5.3
- libexpat1
- libffi6
- libncursesw5
- libreadline7
- libsqlite3-0
- libssl1.0.0
- libssl1.0-dev
- libtinfo5
- mime-support
- zlib1g
- zlib1g-dev