Last active
June 9, 2020 10:10
-
-
Save AlanPadi95/73f1baa187047d9ba7fc22ef0f2f7537 to your computer and use it in GitHub Desktop.
Machine Learning environment setup - Ansible
This file contains 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
- homebrew: | |
name: python | |
state: present | |
- homebrew_cask: | |
name: anaconda | |
state: present | |
install_options: force | |
- homebrew_cask: | |
name: pycharm-ce | |
state: present | |
install_options: force |
This file contains 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
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