[ansible-project] Re: How to Install and Configure Ansible on Ubuntu 16.04 whithout Internet ?

2017-11-08 Thread asadrajput . pk
http://releases.ansible.com/ansible/ Download the tar.file from this link :) On Thursday, November 9, 2017 at 7:40:29 AM UTC+5, 赵梦 wrote: > > > > 在 2017年11月9日星期四 UTC+8上午10:37:16,赵梦写道: >> >> >> Hello, I want to install Ansible on our On-premise No-internet >> servers. Which packages I nee

[ansible-project] Re: Getting authentication failed with simple playbook.

2017-11-08 Thread asadrajput . pk
your playbook is not available at link share your code here.. On Tuesday, November 7, 2017 at 4:20:09 AM UTC+5, Steve Madel wrote: > > > I am an ansible noob looking to manage cisco ACI with it. I have thrown > together a simple playbook located at https://pastebin.com/LcGBEttc. > When I run t

[ansible-project] Inventory source (RH Satellite 6) Invalid Arguments

2017-11-08 Thread Jason Firmino
Hello Gents, I'm trying to setup n inventory using a RH Satellite 6 source. Added the credentials and the inventory source, however once I try to sync it it fails with this output: 2.579 INFO Updating inventory 2: NONP Foreman Hosts 2.616 DEBUG Using system install of ansible-inventory CLI: /

[ansible-project] Re: How to Install and Configure Ansible on Ubuntu 16.04 whithout Internet ?

2017-11-08 Thread 赵梦
在 2017年11月9日星期四 UTC+8上午10:37:16,赵梦写道: > > > Hello, I want to install Ansible on our On-premise No-internet > servers. Which packages I need to download? Could you please help me with > links. I have been googling about them without any luck. Thank you. > -- You received this message

[ansible-project] How to Install and Configure Ansible on Ubuntu 16.04 whithout Internet ?

2017-11-08 Thread 赵梦
Hello, I want to install Ansible on our On-premise No-internet servers. What software packages I need to download? Could you please help me with links. I have been googling about them without any luck. Thank you. -- You received this message because you are subscribed to the Google Gro

[ansible-project] Is it possible to set the "hostname" in Ansible's console output?

2017-11-08 Thread Ryan Fisher
I'm creating a dynamic inventory using ec2.py (which is working great, thanks!). One minor annoyance I'm running into is that the console output that shows changes is labeled with the instances private IPs (as set by *hostname_variable* or *[vpc_]destination_variable*). It would be nice to labe

Re: [ansible-project] Re: Running exe on windows from a batch file

2017-11-08 Thread Jordan Borean
Personally, I would bypass the batch file and just call the executable directly like - name: install Cygwin win_command: C:\Users\pkmbuilder\setup-x86_64.exe --root C:\cygwin64 --quiet-mode --site http://cygwin.mirror.constant.com --packages "openssh,rsync,zip,vim,wget" # Note if you are usi

[ansible-project] Re: Service not starting on one server

2017-11-08 Thread John Harmon
Update: RHEL7 does NOT have the same problem, only RHEL6 -- 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 ansible-project+unsubscr...@googlegroups.com. To pos

[ansible-project] Re: Service not starting on one server

2017-11-08 Thread John Harmon
Update: If I stop sssd on the RHEL6 box, and run the playbook again, the services start fine. It is only after I have installed sssd for the first time that it doesn't seem to start. The pause doesn't do any good. Running the playbook a second time always seems to start the service. -- You re

Re: [ansible-project] Re: Running exe on windows from a batch file

2017-11-08 Thread 'Larry Pescatore' via Ansible Project
I shuld also note I tried putting that path in to the batch file. On Wed, Nov 8, 2017 at 2:20 PM, Larry Pescatore wrote: > Hi Jordan, > The setup file is in C:\Users\user\Desktop. > The batch has the right path. > I just dont know why it's not working. > > On Wed, Nov 8, 2017 at 2:18 PM, Jordan

Re: [ansible-project] Re: Running exe on windows from a batch file

2017-11-08 Thread 'Larry Pescatore' via Ansible Project
Hi Jordan, The setup file is in C:\Users\user\Desktop. The batch has the right path. I just dont know why it's not working. On Wed, Nov 8, 2017 at 2:18 PM, Jordan Borean wrote: > Where is the setup-x86_64.exe located? By default commands run from > win_command and win_shell are run in the user's

[ansible-project] Re: Running exe on windows from a batch file

2017-11-08 Thread Jordan Borean
Where is the setup-x86_64.exe located? By default commands run from win_command and win_shell are run in the user's home directory which means it will be trying to execute *C:\Users\pkmbuilder\setup-x86_64.exe*. If the exe is located in another directory you will either have to reference the fu

[ansible-project] Service not starting on one server

2017-11-08 Thread John Harmon
I have a playbook that configures ldap for linux servers via sssd. It runs against OEL 6, 7 and RHEL 6. One OEL sssd is enabled and running when the playbook is done; however, on RHEL6 the service is only enabled and not running. I can start the service without incident and it works as expec

Re: [ansible-project] Re: Do not working nginx...

2017-11-08 Thread Dick Visser
On 8 November 2017 at 22:42, Artur001 wrote: > In the directory "/run/ php/" there is no php7.1-fpm.sock > How should he appear there? I think your best bet is to either check the logs to see why your php-fpm processes aren't creating sockets in that directory, or manually install things to see a

[ansible-project] Re: Do not working nginx...

2017-11-08 Thread Artur001
In the directory "/run/ php/" there is no php7.1-fpm.sock How should he appear there? -- 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 ansible-project+unsubsc

Re: [ansible-project] How to handle lists of files and avoid unnecessary changes

2017-11-08 Thread Kai Stian Olstad
On 08.11.2017 20:47, Marc Haber wrote: When I change a system from testing to stable, I want the all testing*.list to vanish, and the stable*.list files to appear, unless they're already there, in which case I want them untouched. Locally placed files should also be untouched. How you can imple

Re: [ansible-project] Re: Running exe on windows from a batch file

2017-11-08 Thread 'Larry Pescatore' via Ansible Project
Hi zimidar...@gmail.com Here is the verbose output root@Raspi_Ctrl:/ansible/playbook# ansible-playbook batch.yml - -i /ansible/hosts ansible-playbook 2.5.0 config file = /etc/ansible/ansible.cfg configured module search path = [u'/root/.ansible/plugins/modules', u'/usr/share/ansible/plu

[ansible-project] How to handle lists of files and avoid unnecessary changes

2017-11-08 Thread Marc Haber
Hi, on Debian systems, one can configure repositories in an /etc/apt/sources.list.d directory with multiple files. I usually name the files after the distribution, so that, in a simplyfied example, I might have a file /etc/apt/sources.list.d/stable.list on systems running Debian stable, and /etc/a

Re: [ansible-project] Errativ behavior when looping over a fileglob

2017-11-08 Thread Marc Haber
Hi Kai, thanks for the nudge. I was able to solve the issue. On Tue, Nov 07, 2017 at 07:35:06PM +0100, Kai Stian Olstad wrote: > On 07. nov. 2017 19:21, Marc Haber wrote: > > - name: remove extra files that may be on the systems > >file: > > path: "{{ item }}" > > state: absent > >

[ansible-project] Re: Running exe on windows from a batch file

2017-11-08 Thread Zimidar Boy
Also try this batch file. *https://gist.github.com/wjrogers/1016065* On Wednesday, November 8, 2017 at 1:23:57 PM UTC-5, lpesc...@google.com wrote: > > HI folks, > I have copied a batch file from ansible to windows and want to run it. > If i go to the windows machine and run it it works fine, b

[ansible-project] Re: Running exe on windows from a batch file

2017-11-08 Thread Zimidar Boy
Can you please run playbook by using -vvv verbose mode. It will give more clarity of error. On Wednesday, November 8, 2017 at 1:23:57 PM UTC-5, lpesc...@google.com wrote: > > HI folks, > I have copied a batch file from ansible to windows and want to run it. > If i go to the windows machine and

[ansible-project] Running exe on windows from a batch file

2017-11-08 Thread lpescatore via Ansible Project
HI folks, I have copied a batch file from ansible to windows and want to run it. If i go to the windows machine and run it it works fine, but when I run it from playbook it fails. Here is the playbook: --- - name: test script module hosts: builders tasks: - name: run simpl

[ansible-project] scanning the newly added disc

2017-11-08 Thread Kannappan M
Hi Team, Whenever we get new luns from storage team., how to scan the newly added lun which module will be more suitable to scan the lun Regards Kannappan M -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from th

[ansible-project] os_server shade problem

2017-11-08 Thread asadrajput . pk
Hey Guys, I have tried all the modules of shade to automate my openstack using os_etc. I found only one error which i would like s

Re: [ansible-project] wait_for module

2017-11-08 Thread coach rhca
Thanks Kai for sorting this out. I have rectified the indentations & other corrections and its working now ...will add more logic to get the desired output.Appreciate your prompt help Kai.. On Wed, Nov 8, 2017 at 12:22 PM, Kai Stian Olstad < ansible-project+l...@olstad.com> wrote: > On 08.11.2017