Re: [ansible-project] Re: How to detect why Ansible playbook hangs during execution

2014-07-24 Thread Tony Marin
. For more options, visit https://groups.google.com/d/optout. -- Email Signature | Swiss Mobility Solutions a Gemalto company Swiss Mobility Solutions http://www.swissmobilitysolutions.com/ Tony Marin DevOps Manager Swiss Mobility Solutions a Gemalto Company Mobile+34 637402568 tel:+34%20637402568

Re: [ansible-project] Prevent executing a role more than once

2014-07-17 Thread Tony Marin
://www.swissmobilitysolutions.com/ Tony Marin DevOps Manager Swiss Mobility Solutions a Gemalto Company Mobile+34 637402568 tel:+34%20637402568 Office Telephone+34 966370055 tel:+34%20966370055 Skypeantonymcs skype:antonymcs?call LocationAv. Locutor Vicente HipĆ³lito 39 03540 Alicante Spain

Re: [ansible-project] Two remote users one for production and one from staging

2014-05-18 Thread Tony Marin
://groups.google.com/d/msgid/ansible-project/2969c26f-50fa-47da-9208-dad41d80bb51%40googlegroups.com?utm_medium=emailutm_source=footer. For more options, visit https://groups.google.com/d/optout. -- Swiss Mobility Solutions http://www.swissmobilitysolutions.com/ Tony Marin IT Team Lead Swiss Mobility Solutions

Re: [ansible-project] Inserting an entire block of configuration using lineinfile

2014-04-09 Thread Tony Marin
You can try to loop using with_items: and storing the regexs, lines, etc in variables. On 09/04/14 16:49, Michael Baydoun wrote: I need to insert many lines of configuration and must use lineinfile or something similar. The particular application in question also writes changes over time

Re: [ansible-project] Help with Idempotent lineinfile regex

2014-04-06 Thread Tony Marin
It's not an option as the current file has previously templated with some common configuration. It's a role who has to add the group to the line if the host includes it. Br On 06/04/14 17:24, Paul Durivage wrote: A better, more reliable approach would be to create a template sshd_config file