瀏覽代碼

new ansible style

master
父節點
當前提交
cb605b4589
共有 2 個檔案被更改,包括 4 行新增6 行删除
  1. +1
    -1
      tasks/main.yml
  2. +3
    -5
      tasks/setup_Debian.yml

+ 1
- 1
tasks/main.yml 查看文件

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

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

- name: enable modules
apache2_module:


+ 3
- 5
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:


Loading…
取消
儲存