Greetings,

This time I will hopefully not hit the wrong key and post my message before 
actually entering the body of it.  (Sorry about that).

First the Kudos...   

I've been playing with Ansible for the last few months getting it to do 
some base server configuration for me, and I am truly impressed with how 
well it works on Linux.

Earlier this week I sat down and tested the same configuration bits on an 
AIX server and was even more impressed.  There were a few (minor) gotchas 
where I had to go in and add some OS specific variables into my playbooks 
but for the most part it generally just worked.
As a result I had the same base configuration steps working for AIX within 
a day.  A few differences exist, the biggest is that for Linux I am only 
performing a minimal OS install and the Ansible playbook pulls in all of 
the software packages that I need.  For AIX there is no Ansible package 
management option so I am assuming that my install will have to include 
everything that I need (not a big deal). The one portion that didn't just 
work is the System Cron module.  crontab on AIX has a different syntax from 
Linux and Solaris.  I've modified the module to work for AIX and will be 
testing it in the next few days and submitting a pull request as soon as I 
am happy that it works.  

And now my (probably dumb) question...

When I was using Ansible with an AIX host I discovered that I had to change 
a parameter in the configuration file to get it to work.  When I went back 
to a clean Linux build I had to explicitly take the same option back out.  
The option in question is "scp_if_ssh = True"  Without that I couldn't get 
the AIX host to talk to me... with it I couldn't get the minimal RedHat 
host to talk to me.  Is there any way that I can set that behaviour based 
on OS or do I need to develop a smart SSH copy option that uses one and 
falls back to the other if it doesn't work?

Thanks,

    Adam

-- 
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