35 lines
1.2 KiB
YAML
35 lines
1.2 KiB
YAML
---
|
|
- name: Check if ansible is not to old
|
|
hosts: localhost
|
|
roles:
|
|
- {role: do1jlr.ansible_version, tags: [default, version, default, always], gather_facts: false}
|
|
|
|
- name: General roles for all hosts
|
|
hosts: all
|
|
roles:
|
|
- {role: do1jlr.base, tags: [default, packages, base]}
|
|
- {role: do1jlr.ranger, tags: [packages, ranger]}
|
|
- {role: unattended_upgrades, tags: [default, unattended, unattended_upgrades, security], become: true, when: ansible_distribution == 'Debian'}
|
|
- {role: do1jlr.ntp, tags: [ntp]}
|
|
|
|
- name: User specific roles for all hosts
|
|
hosts: all
|
|
roles:
|
|
- {role: do1jlr.admin_base, tags: [default, init, users, accounts, dotfiles]}
|
|
- {role: do1jlr.dotfiles, tags: [default, dotfiles]}
|
|
|
|
#- name: Video Tasks from debian sid
|
|
# TODO: Webserver stuff
|
|
# hosts: all
|
|
# roles:
|
|
# - {role: ffmpeg, tags: ffmpeg}
|
|
# - {role: nginx_rtmp, tags: nginx}
|
|
|
|
- name: Video tasks instead with debian stable
|
|
hosts: all
|
|
roles:
|
|
- {role: ffmpeg_install, tags: ffmpeg}
|
|
- {role: do1jlr.webhost, tags: [web, webhost], become: true}
|
|
- {role: do1jlr.acmetool, tags: [web, acmetool], become: true}
|
|
- {role: do1jlr.nginx, tags: [web, nginx]}
|
|
|