commit | 35dba668345ad7bc90df5eadaf38a566a3b8485b | [log] [tgz] |
---|---|---|
author | Sapan Bhatia <gwsapan@gmail.com> | Tue Apr 18 13:32:28 2017 +0200 |
committer | Sapan Bhatia <sapan@onlab.us> | Tue Apr 18 11:24:56 2017 -0700 |
tree | 620e70e503be91999c58058e61356dbf446cf6aa | |
parent | e6e915c346aef8c2143499ef91a1f54adf314733 [diff] |
Ensure that /etc/ansible directory exists Change-Id: Iea5d7c29fdd67fa59361720d622d9d5992091682
diff --git a/roles/create-lxd/tasks/main.yml b/roles/create-lxd/tasks/main.yml index a86fe66..fd3ace2 100644 --- a/roles/create-lxd/tasks/main.yml +++ b/roles/create-lxd/tasks/main.yml
@@ -96,6 +96,10 @@ search_regex: "OpenSSH" with_items: "{{ head_lxd_list }}" +- name: Ensure /etc/ansible directory exists + become: yes + file: path=/etc/ansible state=directory + - name: Create /etc/ansible/hosts file become: yes template: