Created
November 13, 2019 11:27
-
-
Save decko/0612baf002e2b59b6e048584af1a863b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
- hosts: localhost | |
vars: | |
apps: | |
- chromium | |
- gnome-tweaks | |
- firefox | |
- neovim | |
- tmux | |
- deluge | |
- ripgrep | |
- powertop | |
- htop | |
- iotop | |
- jnettop | |
- msttcore-fonts-installer | |
tasks: | |
- name: install the rpmfusion repo packages | |
dnf: | |
name: "{{ repos }}" | |
state: present | |
vars: | |
repos: | |
- http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-{{ fedora_current }}.noarch.rpm | |
- http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-{{ fedora_current }}.noarch.rpm | |
become: yes | |
- name: Install packages from default repository | |
dnf: | |
name: "{{ apps }}" | |
state: latest | |
become: yes | |
- name: install pyenv | |
# vars: | |
# asdf_plugins: | |
# - name: erlang | |
# versions: ["20.1"] | |
# global: "20.1" | |
# - name: elixir | |
# versions: "1.9.0" | |
roles: | |
# - asdf | |
- role: avanov.pyenv | |
pyenv_path: "{{ home }}/pyenv" | |
pyenv_owner: "{{ instance_owner }}" | |
pyenv_global: "3.6.5" | |
pyenv_update_git_install: no | |
pyenv_enable_autocompletion: no | |
pyenv_python_versions: | |
- "3.6.5" | |
- "3.4.1" | |
- "2.7.8" | |
pyenv_virtualenvs: | |
- venv_name: "latest_v3" | |
py_version: "3.4.1" | |
- venv_name: "latest_v2" | |
py_version: "2.7.8" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment