瀏覽代碼

current

master
父節點
當前提交
1a361d46dc
共有 2 個文件被更改,包括 15 次插入0 次删除
  1. +1
    -0
      tasks/main.yml
  2. +14
    -0
      tasks/setup_Debian.yml

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

@@ -0,0 +1 @@
---

+ 14
- 0
tasks/setup_Debian.yml 查看文件

@@ -0,0 +1,14 @@
---

- name: install apt packages
apt:
pkg: "{{item}}"
state: present
with_items:
- nginx
- nginx-full

- name: remove default page
file:
path: /var/www/html/index.nginx-debian.html
state: absent

Loading…
取消
儲存