[ansible-project] Re: os_server module

2015-09-02 Thread Antoine Voiry
st 28, 2015 at 12:19:16 AM UTC-7, Antoine Voiry wrote: >> >> All, >> I am facing something strange with the OS_SERVER module. >> Also I was not able to specify the domain in auth. >> Below is the code snipet >> - os_server: >> state: present >>

[ansible-project] os_server module

2015-08-28 Thread Antoine Voiry
All, I am facing something strange with the OS_SERVER module. Also I was not able to specify the domain in auth. Below is the code snipet - os_server: state: present auth: auth_url: https:///v3.0/ username: password: project_name:

[ansible-project] String manipulation ansible.

2015-03-20 Thread Antoine Voiry
Hello, I would like to change a file based on the lower case of a variable. How do I do that? I tried - name: replace string in file replace: dest='{{base_dir}}/{{lower(attribute_name)}}.file.properties' regexp='CHANGEME' replace='{{ ansible_fqdn }}' backup=yes I thought I would be able t

[ansible-project] email and ansible

2015-03-06 Thread Antoine Voiry
All, I am trying to get emails and html template. I get a message saying var are added in the replaced body text. Any idea of where that come from? - name: delete temp dir local_action: file path=./tmp state=absent - name: template create dir local_action: file path=./tmp state=di

[ansible-project] ansible email and template

2015-03-06 Thread Antoine Voiry
All, I am trying to send email in html I keep getting TASK: [pre_install | send email] * fatal: [localhost -> 127.0.0.1] => A variable inserted a new parameter into the module args. Be sure to quote variables if they contain equal signs (for example: "{{var}}")