瀏覽代碼

update to ansible 2.6

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

+ 5
- 3
tasks/main.yml 查看文件

@@ -1,7 +1,9 @@
---

- include_tasks: password.yml
- import_tasks: password.yml
when: not root_target_directory is defined

- include_tasks: ssh.yml
- import_tasks: ssh.yml

- include_tasks: fish.yml
- import_tasks: fish.yml
when: not root_target_directory is defined

+ 1
- 3
tasks/password.yml 查看文件

@@ -4,6 +4,4 @@
user:
name: root
password: "{{ root_password }}"
when:
- root_password is defined
- not root_target_directory is defined
when: root_password is defined