You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@metron.apache.org by GitBox <gi...@apache.org> on 2019/04/29 22:06:03 UTC

[GitHub] [metron] nickwallen commented on a change in pull request #1261: METRON-1860 new developer option for ansible in docker to deploy to vagrant

nickwallen commented on a change in pull request #1261: METRON-1860  new developer option for ansible in docker to deploy to vagrant
URL: https://github.com/apache/metron/pull/1261#discussion_r279557690
 
 

 ##########
 File path: metron-deployment/development/centos6/docker_run_ansible.sh
 ##########
 @@ -14,15 +16,25 @@
 #  See the License for the specific language governing permissions and
 #  limitations under the License.
 #
-[defaults]
-host_key_checking = False
-library = ../extra_modules
-roles_path = ../roles
-pipelining = True
-remote_user = centos
-forks = 20
-log_path = ./ansible.log
-
-# fix for "ssh throws 'unix domain socket too long' " problem
-[ssh_connection]
-control_path = ~/.ssh/ansible-ssh-%%h-%%r
+
+
+#
+# This script runs IN the docker container
+#
 
 Review comment:
   Since this script is not intended to be run by the user, what if we put this in a sub-directory?  I think this would make it more clear as to its intended purpose.
   ```
   metron-deployment/development/centos6/docker/run_ansible.sh
   ````
   
   This would also match how we have all the Ansible stuff living under `metron-deployment/development/centos6/ansible`.
   
   And then there is only one "top-level" script so its blatantly obvious what I'm supposed to run.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services