There is no such thing as a complex_args module.

There is however a method of sending complex arguments to any module

foo_module:
   asdf:
      bar:
          baz: [1,2,3,4,5]
      cat: 42

etc

No, you'd just use the shell/command module for that.




On Fri, Dec 20, 2013 at 9:18 AM, Buddy D <[email protected]> wrote:

>
> Hi folks,
>
> I hope this is the correct outlet to ask, apologies if not.
>
> I've only been working with Ansible for a month or so and have been given
> the task of converting bash scripts. Here's my question:
>
> We do a nginx configure with multiple args, please see below:
>
> ./configure \
>   --prefix=/opt/nginx \
>   --with-http_ssl_module \
>   --with-http_gzip_static_module \
>   --with-http_spdy_module \
>   --add-module=$(passenger-config --root)/ext/nginx \
>   --add-module=/usr/local/src/ngx_http_extended_status_module/addons
>
>
> Would the complex_args module be the way to implement this in Ansible?
>
> Thanks much in advance.
>
> BD
>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Ansible Project" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
>



-- 
Michael DeHaan <[email protected]>
CTO, AnsibleWorks, Inc.
http://www.ansibleworks.com/

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to