On 13.12.2017 12:55, Mike C wrote:
Hi all,
im trying to use a 'complex' expression to evaluate if a task should
run as
root or not.
Here is what i have defined:
```
debian_based_system: ansible_os_family == 'Debian' or ansible_os_family
==
'Linuxmint'
```
You don't say where you define
It is definitely possible but you will probably be coming up with other
errors because you either need to use CredSSP, Kerberos with credential
delegation, become, or psexec to install SQL Server.
For the case around running a powershell script I would try the following
- win_command:
Hi All,
Can you please explain me what is play and play vs tasks .
Could you give any example for play.
Thanks & Regards
ChandraMohan
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails
Hello Everyone,
I know we have Ansible Tower and web GUI that it offers I am interested in
creating a Command page for clients that allows them to submit workflow in
combination with the modules of a playbook. If anyone has this type of
setup already going please direct me to the correct
I've created a script to install SQL Server silently. I'm using Ansible to
push the files to my machine and trying to run the .ps1 script but none of
the modules I've tried have successfully called the script.
Ive tried: ansible machines -m win_psexec -a "command='Powershell
I believe I may know what is happening and this was fixed in the latest
devel branch so you can try that out if you like. Looks like it is failing
to gather facts before it gets to your debug task, can you set *gather_facts:
no* in your playbook as I'm really curious if the cert validation is
Your play is targeting 'localhost', but you defined the variable for
the 'ansible.com' host, either move the file to 'localhost' to match
the host name or use the hostvars[][] method to
access variables defined in other hosts.
--
--
Brian Coca
--
You received this message because you
For anyone else that runs into this, it looks like I had several different
versions of python and out dated components, I reinstalled everything from
scratch and no longer have this issue.
On Tuesday, December 12, 2017 at 2:03:40 PM UTC-7, JOS wrote:
>
> Hello,
>
> So I have an Azure free
Well I got it to work with the following command:
pip install --upgrade --force-reinstall --no-cache-dir ansible
Some kind of caching issue?
-steve
On Monday, December 18, 2017 at 10:28:56 AM UTC-8, Stephen Nesbitt wrote:
>
> All:
>
> After installing ansible using pip on an Ubuntu 16.04
I am trying to grep the IP available on the AWS ELB (nodes attached to it)
and then doing some operation on it.
Now, the issue is how can I on the fly update the ansible inventory of the
new available IP, so that next operation will read the IP from the
inventory and will further execute the
@jordan I completely agree. Although I have clearly stated in the
group_vars/windwos.yml file to ignore cert validation it does not appear to
acknowledge the setting.
With the tasks/main.yml file now looking like this:
---
# Obtain information about a folder
- debug:
var:
Hi there,
I've tried:
1) script module - powershell script
2) win_command module - start.exe
3) starting iexplore.exe with url
Nothing works. I guess the first command doesn't work because ansible uses
another user to start powershell. The logged in user must start the process.
Anybody knows
I have done this last week.
Procedure:
1) Download the .zip installation file for windows
2) Unpack and copy to your ansible host (most likely
roles/rolename/files/tomcat)
3) Copy the binaries via ansible to your win hosts (c:\program files\apache
tomcat foundation\tomcat x.x)
4) Run
bump
On Wednesday, December 13, 2017 at 11:55:33 AM UTC, Mike C wrote:
>
> Hi all,
>
> im trying to use a 'complex' expression to evaluate if a task should run
> as root or not.
>
> Here is what i have defined:
>
> ```
> debian_based_system: ansible_os_family == 'Debian' or ansible_os_family ==
Hi,About Ansible-Tower,There is a problem I think impassability, this two
days we Ansible based automation tasks on the Tower platform, one from a
local server directory copy the file to the local server to another
directory task has been failure, the target directory is mounted another
15 matches
Mail list logo