Browse Source

new ansible style

master
parent
commit
cb605b4589
2 changed files with 4 additions and 6 deletions
  1. +1
    -1
      tasks/main.yml
  2. +3
    -5
      tasks/setup_Debian.yml

+ 1
- 1
tasks/main.yml View File

@@ -1,6 +1,6 @@
---

- include: setup_Debian.yml
- import_tasks: setup_Debian.yml

- name: enable modules
apache2_module:


+ 3
- 5
tasks/setup_Debian.yml View File

@@ -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:


Loading…
Cancel
Save