Re: [ansible-project] script module

2015-03-06 Thread Craig White
On Friday, March 6, 2015 at 2:50:21 AM UTC-7, Serge van Ginderachter wrote: On 6 March 2015 at 10:46, Dag Wieers d...@wieers.com javascript: wrote: (Or we could decide to always template when script is used ?) ​Given the extra processing and slow down that kicks in with templat​es,

[ansible-project] script module

2015-03-05 Thread Craig White
Seems that the 'script' module wants a local file but I need the local file to be a template with variables ./templates/my_script.sh # Run script which removes the directory - name: perform OpenLDAP setup and clean up script: /tmp/slapd/add_ldifs.sh removes=/tmp/slapd but this doesn't work

Re: [ansible-project] newbie - first playbook

2015-02-10 Thread Craig White
a problem finding packages that match 'httpd'. Playbook does though On Monday, February 9, 2015 at 11:25:49 PM UTC-7, James Cammarata wrote: Hi Craig, not quite sure here but it might be that your remote repos are not setup correctly on that system? On Mon, Feb 9, 2015 at 2:53 PM, Craig

Re: [ansible-project] newbie - first playbook

2015-02-10 Thread Craig White
, Feb 10, 2015 at 10:23 AM, Craig White white...@gmail.com javascript: wrote: I wish it were the case that repos were the problem. On the subject system... [root@dbb001 ~]# yum search httpd Loaded plugins: product-id, rhnplugin, security, subscription-manager This system is receiving updates

[ansible-project] newbie - first playbook

2015-02-09 Thread Craig White
been able to do simple ad-hoc commands but now trying to run a relatively simple playbook # ansible-playbook -C /etc/ansible/playbooks/apache/site.yml [WARNING]: The version of gmp you have installed has a known issue regarding timing vulnerabilities when used with pycrypto. If possible, you