feat: use include_task
This commit is contained in:
parent
05186b9f7b
commit
6d24a2624c
@ -23,5 +23,5 @@
|
|||||||
become_user: aur_builder
|
become_user: aur_builder
|
||||||
|
|
||||||
- name: Install gnome environnement
|
- name: Install gnome environnement
|
||||||
import_tasks: gnome.yml
|
include_tasks: gnome.yml
|
||||||
when: gnome_environnement
|
when: gnome_environnement
|
@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
# tasks file for workstation
|
# tasks file for workstation
|
||||||
- name: Install for arch
|
- name: Install for arch
|
||||||
import_tasks: arch.yml
|
include_tasks: "{{ ansible_os_family | lower }}.yml"
|
||||||
|
|
||||||
- name: enable service cups
|
- name: enable service cups
|
||||||
systemd:
|
systemd:
|
||||||
|
Loading…
Reference in New Issue
Block a user