This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- distribution/standalone/src/main/install/bin/artifactoryManage.sh.orig 2019-01-04 13:44:06.706292535 -0500 | |
+++ distribution/standalone/src/main/install/bin/artifactoryManage.sh 2019-01-04 13:17:50.454061203 -0500 | |
@@ -1,5 +1,4 @@ | |
#!/bin/bash | |
-# | |
# Init script for Artifactory service (currently systemd) | |
# | |
# chkconfig: 345 86 14 | |
@@ -75,17 +74,24 @@ | |
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- permissions: | |
{{"{% for item in groups['ingestion'] %} | |
- 'vhost': {{'/' + item.split('.')[0]}} , | |
'configure_priv': '.*' , | |
'read_priv': '.*' , | |
'write_priv': '.*' | |
{% endfor %}" | from_yaml}} | |
The above does not seem to do what is desired. | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I am trying to create this data structure in ansible. | |
permissions: | |
- vhost: /aws-replica001 | |
configure_priv: .* | |
read_priv: .* | |
write_priv: .* | |
- vhost: /aws-replica004 | |
configure_priv: .* | |
read_priv: .* |