Tusd installment placeholders /cc @Acconut
This commit is contained in:
parent
136b054d4c
commit
942ec77216
|
@ -2,15 +2,15 @@
|
||||||
hosts: infra-tusd-server
|
hosts: infra-tusd-server
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- name: Add US APT Mirrors
|
- name: Common | Add US APT Mirrors
|
||||||
action: template src=templates/sources.list dest=/etc/apt/sources.list
|
action: template src=templates/sources.list dest=/etc/apt/sources.list
|
||||||
register: apt_sources
|
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'
|
apt: upgrade=dist cache_valid_time=3600 update_cache=yes dpkg_options='force-confold,force-confdef'
|
||||||
when: apt_sources|changed
|
when: apt_sources|changed
|
||||||
|
|
||||||
- name: Install Packages
|
- name: Common | Install Packages
|
||||||
apt: pkg={{ item }} state=present
|
apt: pkg={{ item }} state=present
|
||||||
with_items:
|
with_items:
|
||||||
- apg
|
- apg
|
||||||
|
@ -29,6 +29,19 @@
|
||||||
- vim
|
- vim
|
||||||
- wget
|
- 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}}'"
|
action: lineinfile dest=/home/ubuntu/.bashrc line="alias wtf='sudo tail -f /var/log/*{log,err} /var/log/{dmesg,messages,*{,/*}{log,err}}'"
|
||||||
register: bashrc
|
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
|
||||||
|
|
Loading…
Reference in New Issue