Move tags to main.yml files in roles
This commit is contained in:
parent
ee2d25f3c9
commit
c4ca195358
12 changed files with 111 additions and 85 deletions
|
|
@ -3,35 +3,15 @@
|
|||
any_errors_fatal: yes
|
||||
roles:
|
||||
- role: packages
|
||||
tags:
|
||||
- packages
|
||||
- role: superuser
|
||||
tags:
|
||||
- superuser
|
||||
- role: auth
|
||||
tags:
|
||||
- auth
|
||||
- role: labsync
|
||||
tags:
|
||||
- labsync
|
||||
- role: windowmanager
|
||||
tags:
|
||||
- windowmanager
|
||||
- role: l10n
|
||||
tags:
|
||||
- l10n
|
||||
- role: inkscape
|
||||
tags:
|
||||
- inkscape
|
||||
- role: fablab
|
||||
tags:
|
||||
- fablab
|
||||
- role: hardware
|
||||
tags:
|
||||
- hardware
|
||||
- role: docker
|
||||
tags:
|
||||
- docker
|
||||
vars:
|
||||
auth:
|
||||
sudo:
|
||||
|
|
|
|||
|
|
@ -1,3 +1,10 @@
|
|||
---
|
||||
- import_tasks: debug.yml
|
||||
- import_tasks: sudo.yml
|
||||
- block:
|
||||
- import_tasks: debug.yml
|
||||
tags:
|
||||
- auth:debug
|
||||
- import_tasks: sudo.yml
|
||||
tags:
|
||||
- auth:sudo
|
||||
tags:
|
||||
- auth
|
||||
|
|
|
|||
|
|
@ -1,8 +1,10 @@
|
|||
---
|
||||
- import_tasks: packages.yml
|
||||
- block:
|
||||
- import_tasks: packages.yml
|
||||
tags:
|
||||
- docker:packages
|
||||
|
||||
- import_tasks: lvm-setup-service.yml
|
||||
- import_tasks: lvm-setup-service.yml
|
||||
tags:
|
||||
- docker:lvm-setup-service
|
||||
tags:
|
||||
- docker
|
||||
|
|
|
|||
|
|
@ -1,22 +1,25 @@
|
|||
---
|
||||
- import_tasks: arduino.yml
|
||||
- block:
|
||||
- import_tasks: arduino.yml
|
||||
tags:
|
||||
- fablab:arduino
|
||||
- import_tasks: cad.yml
|
||||
- import_tasks: cad.yml
|
||||
tags:
|
||||
- fablab:cad
|
||||
- import_tasks: cura.yml
|
||||
- import_tasks: cura.yml
|
||||
tags:
|
||||
- fablab:cura
|
||||
- import_tasks: fritzing.yml
|
||||
- import_tasks: fritzing.yml
|
||||
tags:
|
||||
- fablab:fritzing
|
||||
- import_tasks: kicad.yml
|
||||
- import_tasks: kicad.yml
|
||||
tags:
|
||||
- fablab:kicad
|
||||
- import_tasks: visicut.yml
|
||||
- import_tasks: visicut.yml
|
||||
tags:
|
||||
- fablab:visicut
|
||||
- import_tasks: metalcut.yml
|
||||
- import_tasks: metalcut.yml
|
||||
tags:
|
||||
- fablab:metalcut
|
||||
tags:
|
||||
- fablab
|
||||
|
|
|
|||
|
|
@ -1,2 +1,7 @@
|
|||
---
|
||||
- import_tasks: firmware.yml
|
||||
- block:
|
||||
- import_tasks: firmware.yml
|
||||
tags:
|
||||
- hardware:firmware
|
||||
tags:
|
||||
- hardware
|
||||
|
|
|
|||
|
|
@ -1,2 +1,7 @@
|
|||
---
|
||||
- import_tasks: base.yml
|
||||
- block:
|
||||
- import_tasks: base.yml
|
||||
tags:
|
||||
- inkscape:base
|
||||
tags:
|
||||
- inkscape
|
||||
|
|
|
|||
|
|
@ -1,4 +1,13 @@
|
|||
---
|
||||
- import_tasks: keyboard-configuration.yml
|
||||
- import_tasks: locale.yml
|
||||
- import_tasks: timezone.yml
|
||||
- block:
|
||||
- import_tasks: keyboard-configuration.yml
|
||||
tags:
|
||||
- l10n:keyboard-configuration
|
||||
- import_tasks: locale.yml
|
||||
tags:
|
||||
- l10n:locale
|
||||
- import_tasks: timezone.yml
|
||||
tags:
|
||||
- l10n:timezone
|
||||
tags:
|
||||
- l10n
|
||||
|
|
|
|||
|
|
@ -1,7 +1,10 @@
|
|||
---
|
||||
- import_tasks: seeder.yml
|
||||
- block:
|
||||
- import_tasks: seeder.yml
|
||||
tags:
|
||||
- labsync:seeder
|
||||
- import_tasks: localboot.yml
|
||||
- import_tasks: localboot.yml
|
||||
tags:
|
||||
- labsync:localboot
|
||||
tags:
|
||||
- labsync
|
||||
|
|
|
|||
|
|
@ -1,8 +1,11 @@
|
|||
---
|
||||
- name: install network-manager
|
||||
- block:
|
||||
- name: install network-manager
|
||||
apt:
|
||||
name: "{{ item }}"
|
||||
state: present
|
||||
with_items:
|
||||
- network-manager
|
||||
- network-manager-gnome
|
||||
tags:
|
||||
- network-manager
|
||||
|
|
|
|||
|
|
@ -1,3 +1,6 @@
|
|||
---
|
||||
- import_tasks: sources.yml
|
||||
- import_tasks: debian.yml
|
||||
- block:
|
||||
- import_tasks: sources.yml
|
||||
- import_tasks: debian.yml
|
||||
tags:
|
||||
- packages
|
||||
|
|
|
|||
|
|
@ -1,11 +1,14 @@
|
|||
- name: create root .ssh directory
|
||||
- block:
|
||||
- name: create root .ssh directory
|
||||
file:
|
||||
path: /root/.ssh
|
||||
owner: root
|
||||
group: root
|
||||
state: directory
|
||||
|
||||
- name: set authorized keys for root user
|
||||
- name: set authorized keys for root user
|
||||
copy:
|
||||
src: files/authorized_keys
|
||||
dest: /root/.ssh/authorized_keys
|
||||
tags:
|
||||
- superuser
|
||||
|
|
|
|||
|
|
@ -1,10 +1,13 @@
|
|||
---
|
||||
- import_tasks: lightdm.yml
|
||||
- block:
|
||||
- import_tasks: lightdm.yml
|
||||
tags:
|
||||
- windowmanager:lightdm
|
||||
- import_tasks: awesome.yml
|
||||
- import_tasks: awesome.yml
|
||||
tags:
|
||||
- windowmanager:awesome
|
||||
- import_tasks: mate.yml
|
||||
- import_tasks: mate.yml
|
||||
tags:
|
||||
- windowmanager:mate
|
||||
tags:
|
||||
- windowmanager
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue