Skip to Content.
Sympa Menu

devel - Re: [sympa-developpers] How to test Sympa ?

Subject: Developers of Sympa

List archive

Chronological Thread  
  • From: "Stefan Hornburg (Racke)" <address@concealed>
  • To: address@concealed
  • Subject: Re: [sympa-developpers] How to test Sympa ?
  • Date: Wed, 18 Oct 2017 18:38:11 +0200

On 10/18/2017 09:59 AM, David Verdin wrote:
> Take care. It's more or less broken for now. for some reasons, the site.yml
> does not seem to find the host_vars and
> groups_vars variables.
>
> Maybe my ansible version, maybe something else.
>
> I'm on it.
>

I get the following (Ansible 2.4):

racke@belukha:~/sympa-community/sympa-ansible$ ansible-playbook site.yml -i
environments/local/inventory
[DEPRECATION WARNING]: Instead of sudo/sudo_user, use become/become_user and
make sure become_method is 'sudo'
(default). This feature will be removed in
version 2.6. Deprecation warnings can be disabled by setting
deprecation_warnings=False in ansible.cfg.
[DEPRECATION WARNING]: The use of 'include' for tasks has been deprecated.
Use 'import_tasks' for static inclusions or
'include_tasks' for dynamic inclusions.
This feature will be removed in a future release. Deprecation warnings can be
disabled by setting
deprecation_warnings=False in ansible.cfg.
[DEPRECATION WARNING]: include is kept for backwards compatibility but usage
is discouraged. The module documentation
details page may explain more about this
rationale.. This feature will be removed in a future release. Deprecation
warnings can be disabled by setting
deprecation_warnings=False in ansible.cfg.

PLAY [Check Ansible version]
***********************************************************************************************************************************

TASK [Gathering Facts]
*****************************************************************************************************************************************
fatal: [local-sympa-ubuntu16]: FAILED! => {"failed": true, "msg": "The field
'remote_user' has an invalid value, which
includes an undefined variable. The error was: 'ansible_remote_user' is
undefined\nexception type: <class
'ansible.errors.AnsibleUndefinedVariable'>\nexception: 'ansible_remote_user'
is undefined"}
to retry, use: --limit
@/home/racke/sympa-community/sympa-ansible/site.retry

PLAY RECAP
*****************************************************************************************************************************************************
local-sympa-ubuntu16 : ok=0 changed=0 unreachable=0 failed=1

It doesn't look like the other roles I used from Ansible Galaxy and from my
current job, so it will take me a while to
catch the logic of the structure.

Regards
Racke

>
> On 17/10/2017 18:27, Stefan Hornburg (Racke) wrote:
>> On 10/17/2017 09:30 AM, David Verdin wrote:
>>> Interesting. I planned to work on it precisely today.
>>>
>>> Eiro and I worked together the whole last week on Sympa planning on the
>>> RENATER side. I'm now back on my current works.
>>>
>>> I'll keep you updated soon.
>>>
>>> Cheers,
>>>
>>> David
>> Thanks - I will try it out :-)
>>
>> Regards
>>           Racke
>>
>>>
>>> On 16/10/2017 16:51, Stefan Hornburg (Racke) wrote:
>>>> On 10/04/2017 05:00 PM, David Verdin wrote:
>>>>> Hi Racke,
>>>>>
>>>>> Cool! I'll try to speed up move to the public git.
>>>>>
>>>>> Cheers,
>>>>>
>>>>> David
>>>> Hello,
>>>>
>>>> any update - got an user asking for an ansible setup ...
>>>>
>>>> Regards
>>>>              Racke
>>>>
>>>>> On 04/10/2017 16:37, Stefan Hornburg (Racke) wrote:
>>>>>> On 10/04/2017 01:49 PM, David Verdin wrote:
>>>>>>> Hi guys,
>>>>>>>
>>>>>>> Well, not yet, but a friend and I are working on a vagrant+ansible
>>>>>>> build of a development environment.
>>>>>>>
>>>>>>> The idea is to have a sympa server and a webmail server tuned to
>>>>>>> communicate with each other only, so that it is
>>>>>>> easy to
>>>>>>> send mail tot test stuff.
>>>>>>>
>>>>>>> But, again, work in progress. For now, we have a working Sympa with
>>>>>>> virtual hosts.
>>>>>>>
>>>>>>> This is NOT a RENATER project. Well, not yet at least. Hence the slow
>>>>>>> development rate.
>>>>>>>
>>>>>>> As soon as we have a public git, I'll let it know to the list, so
>>>>>>> that you can use it.
>>>>>> Hello David,
>>>>>>
>>>>>> please do this soon than later. I do a lot of stuff with
>>>>>> vagrant+ansible lately (mcrouter, memcached, selenium,
>>>>>> docker,
>>>>>> dnsmasq recently, so I'm sure I can help with that project.
>>>>>>
>>>>>> Sounds definitely interesting.
>>>>>>
>>>>>> Regards
>>>>>>            Racke
>>>>>>
>>>>>>> Cheers,
>>>>>>>
>>>>>>> David
>>>>>>>
>>>>>>>
>>>>>>> On 04/10/2017 11:57, Luc Didry (via sympa-developpers Mailing List)
>>>>>>> wrote:
>>>>>>>> Hello,
>>>>>>>>
>>>>>>>> Is there a way to test Sympa without mounting a whole server? A
>>>>>>>> vagrant build, a
>>>>>>>> docker image…?
>>>>>>>>
>>>>>>>> I'm developping a patch to correct email addresses with a setting in
>>>>>>>> sympa.conf
>>>>>>>> (you provide regexp and replacement: { '@gmail\.fr$' => '@gmail.com
>>>>>>>> }) and want
>>>>>>>> to test it, but without installing the whole thing if possible.
>>>>>>>>
>>>>>>>> Also: what is the best branch to work on? master? sympa-6.2? The
>>>>>>>> latest tag?
>>>>>>>>
>>>>>>>> Regards,
>>
>


--
Ecommerce and Linux consulting + Perl and web application programming.
Debian and Sympa administration.



Archive powered by MHonArc 2.6.19+.

Top of Page