[ansible-project] Running servers in parallel and not sequential ??

2018-10-31 Thread nadim mansour
My ansible project runs by the below order -prepare web-server (on linux) -prepare proxy-server (on linux) -prepare database-server (on windows ) Note: web server and proxy server share some roles (common , apache ..etc) is it possible to run the servers in paralled so ansible runs on same

[ansible-project] Passing variables to a template / jinja2 ??

2018-10-31 Thread nadim mansour
I have an http.conf where some values will be variables passed by the user where should I put the variables and how the file should look can someone advice ? -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group

Re: [ansible-project] Re: windows command from ansible / returning error

2018-10-31 Thread nadim mansour
when I run it locally on windows server the command is working and oracle client is installed silently On Wed, Oct 31, 2018 at 1:35 PM Jordan Borean wrote: > You would need to find out what an error code of 259 means in the context > of the installer. When you run it locally are you getting the

[ansible-project] WinRM - running ansible on widnows returning error

2018-11-01 Thread nadim mansour
How can I let ansible run on windows node(windows server 2012 machine) ?? I ran the belwo commands on power shell before running the ansible script : *netsh advfirewall firewall add rule name="Allow WinRM (Http)" dir=in localport=5985 protocol=tcp action=allow enable=yes* *netsh advfirewall

Re: [ansible-project] Re: WinRM - running ansible on widnows returning error

2018-11-01 Thread nadim mansour
e/ansible/blob/devel/examples/scripts/ConfigureRemotingForAnsible.ps1 > > That will configure the necessary changes to allow Ansible to connect to > windows. > > On Thursday, November 1, 2018 at 3:50:19 PM UTC+5:30, nadim mansour wrote: >> >> How can I let ansible run on wind

Re: [ansible-project] Re: WinRM - running ansible on widnows returning error

2018-11-01 Thread nadim mansour
I am enabling the below rules: netsh advfirewall firewall add rule name="Allow WinRM (Http)" dir=in localport=5985 protocol=tcp action=allow enable=yes netsh advfirewall firewall add rule name="Allow WinRM (Https)" dir=in localport=5986 protocol=tcp action=allow enable=yes but it seems on https

Re: [ansible-project] WinRM - running ansible on widnows returning error

2018-11-01 Thread nadim mansour
018, 3:50 PM nadim mansour > wrote: > >> How can I let ansible run on windows node(windows server 2012 machine) ?? >> I ran the belwo commands on power shell before running the ansible script >> : >> >> >> *netsh advfirewall firewall add rule name="Allow

[ansible-project] Ftp - ansible

2018-11-05 Thread nadim mansour
I have files that I need to transfer from my mac (machine) to windows server and linux server before running several tasks files are binary files and .exe can the files be sent through ftp ? can someone help please -- You received this message because you are subscribed to the Google Groups

[ansible-project] File with variables (template)

2018-11-02 Thread nadim mansour
If I have a file and the user wants to pass variables for this file (example: http.conf) should I convert the file to http.conf.j2 ? when copied to the server it will be read as http.conf or http.conf.j2 ? where should be the location of this file ? under template folder in ansible project ?

[ansible-project] copying file.j2 to the mahine returning error

2018-11-07 Thread nadim mansour
I have a configuration file.j2 , I am trying to copy the file from ansible templates to destination(server) it keeps giving the below error fatal: [uat_cdxdb]: FAILED! => {"changed": false, "msg": "Template source files must be utf-8 encoded"} please advice ? -- You received this message

[ansible-project] values empty for variables - ansible

2018-11-06 Thread nadim mansour
I have the below variables , In some servers I just need to keep the value empty as I dont want to open the port but when I keep it empty its returning error . any solution ??? any I putting my variables in all under group-vars fatal: [uat_cdxapp]: FAILED! => { "changed": false,