Add python to provision

This commit is contained in:
Aleksandr Didenko 2016-07-08 19:02:17 +02:00
parent a5a34c98a5
commit efaf6328a2
2 changed files with 5 additions and 1 deletions

View file

@ -3,7 +3,6 @@
- name: Install packages - name: Install packages
package: name={{ item }} state=latest package: name={{ item }} state=latest
with_items: with_items:
- python
- python-pip - python-pip
- screen - screen
- vim - vim

View file

@ -1,6 +1,11 @@
#!/bin/bash #!/bin/bash
echo node > /var/tmp/role echo node > /var/tmp/role
# Packages
sudo apt-get --yes update
sudo apt-get --yes upgrade
sudo apt-get --yes install python
# SSH # SSH
sudo rm -rf /root/.ssh sudo rm -rf /root/.ssh
sudo mv ~vagrant/ssh /root/.ssh sudo mv ~vagrant/ssh /root/.ssh