summaryrefslogtreecommitdiffstats
path: root/ansible-server/pom.xml
diff options
context:
space:
mode:
authorTaka Cho <takamune.cho@att.com>2019-02-18 14:31:27 -0500
committerTaka Cho <takamune.cho@att.com>2019-02-18 14:33:53 -0500
commit9bec848ff9fc2c421f25bd0f998f67685f8b53aa (patch)
tree77c122b7a66db0eb95c74982673bf7baba54f335 /ansible-server/pom.xml
parentf4089a2309fecb01e6e3ef06e03991a6be02e2d9 (diff)
make ansible container backward compatible
Due to failure on docker-compose in APPC heat and k8s in APPC pod. I made this change backward compatible Change-Id: I9f4bb7b4a6d75cfdc7e3272b3382474342fb142c Issue-ID: APPC-1441 Signed-off-by: Taka Cho <takamune.cho@att.com>
Diffstat (limited to 'ansible-server/pom.xml')
-rw-r--r--ansible-server/pom.xml20
1 files changed, 20 insertions, 0 deletions
diff --git a/ansible-server/pom.xml b/ansible-server/pom.xml
index 662864cb..0b440d23 100644
--- a/ansible-server/pom.xml
+++ b/ansible-server/pom.xml
@@ -97,6 +97,26 @@
</arguments>
</configuration>
</execution>
+ <execution>
+ <id>change shell permissions</id>
+ <phase>process-sources</phase>
+ <goals>
+ <goal>exec</goal>
+ </goals>
+ <configuration>
+ <executable>/usr/bin/find</executable>
+ <arguments>
+ <argument>${basedir}/target/docker-stage/ansible-server</argument>
+ <argument>-name</argument>
+ <argument>*.sh</argument>
+ <argument>-exec</argument>
+ <argument>chmod</argument>
+ <argument>+x</argument>
+ <argument>{}</argument>
+ <argument>;</argument>
+ </arguments>
+ </configuration>
+ </execution>
</executions>
</plugin>
</plugins>