Tusd installment placeholders /cc @Acconut

This commit is contained in:
Kevin van Zonneveld 2015-08-19 16:16:43 +02:00
parent 136b054d4c
commit 942ec77216
1 changed files with 17 additions and 4 deletions

View File

@ -2,15 +2,15 @@
hosts: infra-tusd-server
tasks:
- name: Add US APT Mirrors
- name: Common | Add US APT Mirrors
action: template src=templates/sources.list dest=/etc/apt/sources.list
register: apt_sources
- name: Update APT
- name: Common | Update APT
apt: upgrade=dist cache_valid_time=3600 update_cache=yes dpkg_options='force-confold,force-confdef'
when: apt_sources|changed
- name: Install Packages
- name: Common | Install Packages
apt: pkg={{ item }} state=present
with_items:
- apg
@ -29,6 +29,19 @@
- vim
- wget
- name: Add convenience shortcut wtf
- name: Common | Add convenience shortcut wtf
action: lineinfile dest=/home/ubuntu/.bashrc line="alias wtf='sudo tail -f /var/log/*{log,err} /var/log/{dmesg,messages,*{,/*}{log,err}}'"
register: bashrc
# - name: Tus | Download tusd
# action: foo bar
# register: foo bar
#
# - name: Tus | Install upstart/systemd file
# action: foo bar
# register: foo bar
#
# - name: Tus | Start service
# action: foo bar
# register: foo bar