Browse Source

update to ansible 2.6

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

+ 5
- 3
tasks/main.yml View File

@@ -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 View File

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