Skip to content

Commit

Permalink
rename, delete django role, apt upgrade/update playbook
Browse files Browse the repository at this point in the history
  • Loading branch information
fdavis committed Jun 22, 2013
1 parent 077d2ed commit c70e971
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 8 deletions.
File renamed without changes.
6 changes: 6 additions & 0 deletions playbooks/apt-upgrade-update.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
- hosts: all
sudo: yes
tasks:
- shell: apt-get upgrade -y; apt-get update

8 changes: 0 additions & 8 deletions roles/django/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,6 @@
command: chdir=/opt/Django-1.5.1 python setup.py install creates=/opt/Django-1.5.1/README.rst
notify: service nginx start/enable

#- name: upgrade
# command: apt-get upgrade -y

#- name: update
# command: apt-get update -y

- name: install deps
apt: pkg=$item state=present
with_items:
Expand Down Expand Up @@ -50,5 +44,3 @@
file: path=/etc/nginx/sites-enabled/default state=absent
notify: service nginx start/enable

- name: print out some versions
shell: python --version; python -c "import django; print django.VERSION"
File renamed without changes.

0 comments on commit c70e971

Please sign in to comment.