Skip to content

Instantly share code, notes, and snippets.

@AlanPadi95
Last active June 9, 2020 10:10
Show Gist options
  • Save AlanPadi95/73f1baa187047d9ba7fc22ef0f2f7537 to your computer and use it in GitHub Desktop.
Save AlanPadi95/73f1baa187047d9ba7fc22ef0f2f7537 to your computer and use it in GitHub Desktop.
Machine Learning environment setup - Ansible
- homebrew:
name: python
state: present
- homebrew_cask:
name: anaconda
state: present
install_options: force
- homebrew_cask:
name: pycharm-ce
state: present
install_options: force
tasks:
- include_tasks: "{{ ansible_distribution | lower }}_setup.yml"
- shell: "export PATH='/usr/local/anaconda3/bin:$PATH' && conda init && conda create -n tensor python=3.6 && activate tensor"
args:
executable: "/bin/bash"
- pip:
name:
- tensorflow
- sklearn
#- pickle
- numpy
- keras
- pandas
- matplotlib
become: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment