commit | e003c8989e2499f3b70fed4b1abb55959ab85241 | [log] [tgz] |
---|---|---|
author | Andy Bavier <andy@onlab.us> | Thu Oct 06 10:03:58 2016 -0400 |
committer | Andy Bavier <andy@onlab.us> | Thu Oct 06 10:03:58 2016 -0400 |
tree | 37bd8288b980265f573685c50386e49c2d58bfd9 | |
parent | 30d27c9db8a7b6d10910eb9f7e74fb1a8413c601 [diff] |
Regenerate inventory file when config changes Change-Id: Ie8bb9b0a957db3d51fbcf0d0f6620e9c0b4eb63c
diff --git a/build.gradle b/build.gradle index f72dd13..db86e6d 100644 --- a/build.gradle +++ b/build.gradle
@@ -57,6 +57,8 @@ } task copyAnsibleInventory(type: Copy) { + inputs.file deployConfig + File configFile = new File(deployConfig) def yaml = new Yaml() def config = yaml.load(configFile.newReader())