[ansible-project] not able to change OU of a computer using win_domain_computer

2019-08-14 Thread vineesh ap
I am trying to change OU for a computer using ansible. I am delegating this task to a server which has all the Powershell modules installed. while I run playbook getting below error. could anyone help to resolve this error ? fatal: [ <> -> <> FAILED! => { "changed": false, "msg":

[ansible-project] Re: best way to test for a condition and report it

2019-08-14 Thread Dan Linder
Ansible is really designed to put a system configuration into a state, so checking for a possible state is a bit trickier. But, you could run the playbook in check-only mode, then register the result of the change, then use the results "changed" flag in your script to get the report. For

[ansible-project] Re: "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result

2019-08-14 Thread Zolvaring
On Monday, March 12, 2018 at 8:36:46 PM UTC-7, Camilo Vieira wrote: > > Hi, > > This is my environment: > > # lsb_release -a > No LSB modules are available. > Distributor ID: Ubuntu > Description:Ubuntu 16.04.2 LTS > Release:16.04 > Codename: xenial > > # python --version >

Re: [ansible-project] Need direction oh how to either Loop Variables or use Lists for Variables within Roles

2019-08-14 Thread Joe Langdon
Thanks Kai I did not realize that the inventory was actually used to set random Variables for hosts, if these variables did not have anything to do with the ssh configuration. Thanks On Wednesday, August 14, 2019 at 5:12:10 PM UTC-4, Kai Stian Olstad wrote: > > On 14.08.2019 22:25, Joe Langdon

[ansible-project] Need direction oh how to either Loop Variables or use Lists for Variables within Roles

2019-08-14 Thread Joe Langdon
I have a role that configures a JSON file on a server. The JSON file needs know the following variables which are DIFFERENT for each server. This file is the later used to for a script that installs software [root@ip-172-29-100-198 roles]# cat elasticconfig/*defaults/*main.yml --- #

Re: [ansible-project] ansible find.py seems to fail on NFS drives with certain mount options

2019-08-14 Thread Kai Stian Olstad
On 14.08.2019 21:12, Larry Kyrala wrote: "matched": 0, "msg": "deployments/ was skipped as it does not seem to be a valid directory or it cannot be accessed\n" } # script that is failing - deploy/main.yml: - name: find deployments find: paths: deployments/ patterns:

[ansible-project] Test to see if the Drives exist

2019-08-14 Thread Doug Clark
Hello, I am new to Ansible and looking for some assistance. I want to be able to run the Ansible script for changes and or additions without rebuilding the server. In my Ansible script I am using the below snippet to configure the 2 additional drives that I have added to the server. Any

[ansible-project] Re: ansible find.py seems to fail on NFS drives with certain mount options

2019-08-14 Thread Larry Kyrala
Correction, it turns out I was comparing mount options within the debian VM to those on the Mac. When comparing mount options between both environments, they are identical, except that one works and the other doesn't. Trying to gather more information because this doesn't make any sense.

[ansible-project] Re: Evaluate group_vars directories and files recursively

2019-08-14 Thread 'Uffi Schnuffi' via Ansible Project
PR created here: https://github.com/ansible/ansible/pull/60593 -- 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.

[ansible-project] ansible find.py seems to fail on NFS drives with certain mount options

2019-08-14 Thread Larry Kyrala
Hi, I opened an issue some time ago which was dismissed as a user issue and was directed here instead: https://github.com/ansible/ansible/issues/53959 I've discovered more information since reporting that issue. Similar issues have also been observed on Mac as well as Windows, which makes me

Re: [ansible-project] [question] run logstash shell script in ansible playbooks

2019-08-14 Thread Brian Coca
define 'doesn't work' and it would help to show exact task you are using and the output you get, adding -vvv is generally helpful when debugging. -- -- Brian Coca -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from

Re: [ansible-project] ansible 2.5 with_items -> loop conversion

2019-08-14 Thread Jason Gilfoil
Thanks Matt! That was indeed the issue! The other question isn't important, so don't waste time on it unless you're just curious. But if you look at the output between the two variable examples, numberedvars vs wordvars towards the bottom, they are different in what it outputs (one gives

[ansible-project] Re: Erroneous playbook failure

2019-08-14 Thread harry devine
Anyone have any ideas? On Monday, August 12, 2019 at 7:40:28 AM UTC-4, harry devine wrote: > > We have a playbook that runs every night that will do a "yum update" on > all of our servers, then performs an "aide --update" to keep AIDE up to > date. Whenever a difference is found, Ansible

[ansible-project] Re: [AWX] datetime.datetime (....) is not JSON serializable

2019-08-14 Thread Marcelo Dalla
Problem solved. Just include in ansible.cfg the following configuration: callback_whitelist = junit == On Wednesday, August 14, 2019 at 8:52:12 AM UTC-3, Marcelo Dalla wrote: > > Hello. > I´m trying to run an AWX template with reboot command in playbook but

Re: [ansible-project] SSH to Oracle SBC

2019-08-14 Thread suriravi2002 .
Thanks Brian will check on that module and come back for clarifications . Regards, Suresh.R.V On Tue, 13 Aug, 2019, 11:44 PM Brian Coca, wrote: > Ansible requires a shell and python (or other interpreters) on the > target machine to be usable, the `ping` module verifies these. > > From what i

Re: [ansible-project] if win_chocolatey can install Visual studio community?

2019-08-14 Thread Sebastian Meyer
On 14.08.19 04:49, 舒何伟 wrote: > " See the log for details > (C:\ProgramData\chocolatey\logs\chocolatey.log).", What does the log say? -- Sebastian Meyer Linux Consultant & Trainer Mail: me...@b1-systems.de B1 Systems GmbH Osterfeldstraße 7 / 85088 Vohburg / http://www.b1-systems.de