Re: [ansible-project] How do I assign different variable values for different group system

2019-12-12 Thread Kai Stian Olstad
On 12.12.2019 22:15, Xinhuan Zheng wrote: Does above play use agroup defined nameservers for myserver, and bgroup defined nameservers for myserver2? Why don't you just run the code and check for yourself? Anyway, the answer to your question is yes. -- Kai Stian Olstad -- You received this me

[ansible-project] Re: Ansible - How register some line in variable

2019-12-12 Thread j1f0x
Hi, maybe you try this: include_newlines: | exactly as you see will appear these three lines of poetry fold_newlines: > this is really a single line of text despite appearances see: https://docs.ansible.com/ansible/latest/

[ansible-project] How do I assign different variable values for different group system

2019-12-12 Thread Xinhuan Zheng
Hello, I'm trying to create an Ansible role, networking, to automate /etc/resolv.conf file. I created this role like below: production networking.yml group_vars/ agroup bgroup roles/ networking/ tasks/main.yml templates/resolv.conf.j2 In my resolv.conf.j2 file, I put variables in

[ansible-project] AnsibleAWX && WINRM returns "certificate: the specified credentials were rejected by the server"

2019-12-12 Thread Robert Rozek
I have setup Windows remote management as per guidelines from below for the certificate: https://docs.ansible.com/ansible/latest/user_guide/windows_winrm.html#certificate So what I have done. 1. Enabled WINRM using the enableremote.ps scirpt 2. enabled certificate use using "Set-Item -Pat

Re: [ansible-project] Besoin d'aide pour Upgrade ansible

2019-12-12 Thread Jean-Yves LENHOF
Hi, You should ask your questions in English instead of French on such group. (You ask about some help to upgrade ansible from 2.7 to 2.9) Before answering, what's your OS Controller ? What's your version ? Is the version 2.7 installed by RPM, by dpkg, by pip, with virtualenv ? Regards, JY

[ansible-project] Besoin d'aide pour Upgrade ansible

2019-12-12 Thread krad imen
Bonjour; Pouvez vous m'aider pour faire la mise à jour d'ansible de 2.7 vers 2.9 svp. je n'ai pas trouver la procédure détaillée pour le faire. Merci par avance -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this gr

Re: [ansible-project] deploy WAR file in IBM Webshpere application server ND9 (AIX server 7.1)

2019-12-12 Thread Stefan Hornburg (Racke)
On 12/12/19 10:14 AM, Pradeep Drall wrote: > We are unable to deploy WAR file in IBM Webshpere application server ND9 (AIX > server 7.1) through ansible. >   >   >  tasks: > name: copying the war file from the existing WAS deployment folder to backup > shell: sh wsadmin.sh -username wsadmin -passw

[ansible-project] deploy WAR file in IBM Webshpere application server ND9 (AIX server 7.1)

2019-12-12 Thread Pradeep Drall
We are unable to deploy WAR file in IBM Webshpere application server ND9 (AIX server 7.1) through ansible. tasks: name: copying the war file from the existing WAS deployment folder to backup shell: sh wsadmin.sh -username wsadmin -password wsadmin && "AdminConfig.save()" && exit && exit && s