Git Product home page Git Product logo

Comments (12)

davehorton avatar davehorton commented on July 4, 2024

To build the google libs needed is quite complex. I use ansible to do it. See this ansible role -- this is what I use

from drachtio-freeswitch-modules.

szekster avatar szekster commented on July 4, 2024

ok thanks. I'm not familiear with ansible. i'll take a look at it. do you know if the code works on v1.10 on deb buster?

from drachtio-freeswitch-modules.

davehorton avatar davehorton commented on July 4, 2024

I haven't tried it on buster so I am not sure. I've been using stretch

from drachtio-freeswitch-modules.

szekster avatar szekster commented on July 4, 2024

ansible looks like it will take some time to figure out, unless you might have some instructions? otherwise are there prebuilt binaries for stretch and v1.8? i have a stretch machine kicking around I could likely use if so.

from drachtio-freeswitch-modules.

davehorton avatar davehorton commented on July 4, 2024

no docs but if you look at the command files in the tasks folder of that repo you will be able to see the steps, which you can then recreate in bash.

I've found ansible to be fairly easy to learn, and well worth it if you are going to be doing any devops on a consistent basis

from drachtio-freeswitch-modules.

szekster avatar szekster commented on July 4, 2024

i've installed ansible on a fresh stretch machine and have been working on it off and on. i've set a group called "self" in the ansible hosts file with the machine IP set. i try invoke ansible as "ansible self -M ./ -m main.yml -vvv" and get an error message:

from drachtio-freeswitch-modules.

szekster avatar szekster commented on July 4, 2024

continuing: Using module file /usr/local/src/ansible-role-fsmrf/tasks/main.yml
192.168.0.72 | FAILED! => {
"failed": true,
"msg": "module (main.yml) is missing interpreter line"
}

how should I be invoking the main.yaml file ? this is from ansible-role-fsmrf

from drachtio-freeswitch-modules.

davehorton avatar davehorton commented on July 4, 2024

I can't help you as I do not run ansible on the target machine - I run it on my laptop - so I am not familiar with the commands

from drachtio-freeswitch-modules.

szekster avatar szekster commented on July 4, 2024

what do you use, do you use a gui?

from drachtio-freeswitch-modules.

davehorton avatar davehorton commented on July 4, 2024

no, I just run the ansible command line and provide an inventory file with IPs of remote servers to build, or else as a -i command line argument, e.g.

ansible-playbook -u admin -i "3.55.34.113," freeswitch.yml --extra-vars="ssh_ansible_private_key_file=..."

from drachtio-freeswitch-modules.

davehorton avatar davehorton commented on July 4, 2024

Also, I have just successfully built everything on a debian buster instance without any code changes required, so this should not be a problem

from drachtio-freeswitch-modules.

szekster avatar szekster commented on July 4, 2024

great!, can you give me the whole command line you use? i think it would help alot.

from drachtio-freeswitch-modules.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.