diff --git a/tasks/main.yml b/tasks/main.yml index d543fdb..fbf0a3b 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -1,6 +1,6 @@ --- -- include: setup_Debian.yml +- import_tasks: setup_Debian.yml - name: enable modules apache2_module: diff --git a/tasks/setup_Debian.yml b/tasks/setup_Debian.yml index df393b9..1449afb 100644 --- a/tasks/setup_Debian.yml +++ b/tasks/setup_Debian.yml @@ -1,11 +1,9 @@ --- -- name: install apt packages +- name: debian packages apt: - pkg: "{{item}}" - state: present - with_items: - - apache2 + pkg: + - apache2 - name: remove default page file: