For one thing, once my apt module pull request #2944 gets merged you can
use « --check --diff » to see the list of packages to be upgraded.
On Thursday, February 11, 2016 at 8:10:56 PM UTC+1, Johannes Kastl wrote:
>
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Hi everyone,
>
> is it
Hi Jon,
I am using windows server 2012 R2. Disabling UAC doesn't seem like a good
idea, specially with my automation scripts on a regular basis. I am
connecting via admin account obviously but that doesn't seem to be enough
for making a symlink. I will have to start a command shell using 'Run
Hi,
I'm running ansible 1.9.4 (released in Oct 2015) and am hitting a bug
that has been fixed in August 2015, but the fix is apparently in ansible
2.0 only.
Manually applying the fix to my 1.9.4 installation resolves the problem.
Will this bugfix be backported?
thanks!
Thanks Joe,
I tried using the raw module but the problem i am facing is that NSSM
requires admin level privileges to start/stop services. How can i enable
'Run as admin' level while passing a command in NSSM ? My windows machine
do not have a pre installed NSSM and thus i cannot create a
When switching to root it works, using a user having sudo rights with
NOPASSWD it does not work
On Wednesday, February 10, 2016 at 3:27:46 PM UTC+1, Sascha Andres wrote:
>
> Hello,
>
> I have two machines both running ansible 2.0.0.2 on Ubuntu 14.04.3 LTS. On
> one machine ( my work machine )
>
Sascha Andres:
> When switching to root it works, using a user having sudo rights with
> NOPASSWD it does not work
did you specify 'become: yes' (for the sudo case)?
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from
Hi Jon
I made sure the UAC was disabled on all servers, also went through the
event viewer on the servers and there are no errors at all.
I ran the playbook with - and got the out put below. From what I can
see there is nothing to indicate why the script isnt running? Can you see
Hi all,
we have a customer that has built a custom framework in Python to provision
installations of JBoss EAP. The installation are provisioned by means of
JBoss EAP Command Line Scripts and file system operations.
I'd like to evaluate Ansible as a replacement, however I'm totally new to
Hi there,
I'm pretty new to ansible and trying to install rvm threw its official role
system-wide.
Through installation process I came across a "rvm command not found" error,
which (thru further diggin) brought me to the following question:
How come, that my PATH differs, depending if I ask
No special py3 branch, we are incrementally updating the development branch
to add py3 compatibility.
Sadly we are not there yet, we do take PRs that help in this respect. Keep
in mind that modules and module shared code (module_utils) must still be
2.4 compatible and the main Ansible executables
I'm new to ansible and naively installed ansible in a python 3 virtualenv.
While running one of the first commands in the "Getting Started"
documentation:
ansible all -m ping -vvv
I ran into an error with ansible 2.0.0.2's use of "basestring", just like
this stackoverflow user:
I need to get sudoer whitelist for all the commands that ansible is
running, is there any way which I can list them?
--
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
On my workstation this issue is only with ansible 2.0.2.
ansible 1.9.4 work
Le mardi 21 avril 2015 15:14:02 UTC+2, rrrki...@gmail.com a écrit :
>
> I am getting this error when I ran the playbook for the remote node .
>
> Could you please let me know how to resolve this error ?
>
--
You
Hello,
I think I discovered a bug.
Under all circumstances digital_ocean_domain will fail when the subdomain
(name) already exist:
fatal: [x.sample.com]: FAILED! => {"changed": false, "failed": true, "msg":
"'Domain' object has no attribute 'id'"}
If just a name and ip address is provided,
When you login, there is a system-wide profile script that is imported with
the barebones environment variables that are global to all users, then your
local .profile is imported.
If the shell is an interactive shell, then a third script (usually .bashrc
for BASH or .zshrc for ZSH) is run
You will need to connect as a user with admin level privileges.
You can probably use win_copy to push the nssm.exe on to your machine first.
If I recall it is a single standalone executable with no external
dependencies (except possibly .net)
Jon
On Friday, 12 February 2016 09:04:26 UTC, ishan
Hello,
All my playbooks looks like:
- hosts: web_servers
roles:
- role: nginx
tags: nginx
- role: web_landing
tags: web_landing
- role: web_server
tags: web_server
because I want to be able to deploy only a certain role or subset
ansible.callbacks no longer exists in 2.0.
it sounds like you are calling Ansible from a python script. If so, this
process is very different in 2.0.
You probably need to reach out to whomever wrote the software or downgrade
your ansible to 1.9.
If you want to take a stab at fixing it, the
Hello,
I'm completely new to ansible and I'm not even actually using it for direct
development. A software I'm trying to install depends on ansible and it
always reports the following error when started:
root@cc9ce7befef1:~# elasticluster
Traceback (most recent call last):
File
What is the problem with using tags? We tag every role. At the moment, we
have 65 tags aggregated across site.yml.
tags are designed specifically for this functionality.
On Fri, Feb 12, 2016 at 9:21 AM, Daniele Varrazzo <
daniele.varra...@gmail.com> wrote:
> Hello,
>
> All my playbooks looks
We currently have multiple repos for each of our applications and in each
of these we have a group_vars for that application.
We also have a common repo with all of the common roles and tasks for every
repo and application across all our infrastructure.
What we would like to do is move all the
On Friday, February 12, 2016 at 3:38:11 PM UTC, Matt Martz wrote:
>
> What is the problem with using tags? We tag every role. At the moment,
> we have 65 tags aggregated across site.yml.
>
> tags are designed specifically for this functionality.
>
Sure tags work, that's why I use them. But
It would be nice if roles could be autotagged with the role name.
>
--
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
Try with -vv ( 6 vs) which should show you the stdout / stderr from
the script run.
I would be tempted to insert some lines like the following to see what
progress, if any, your script is making:
Write-Host "Got here"
Actually - I did a little digging and found this page -
Without looking too closely at your code/error I ran into what may be a
related issue. It's because the shell is not sourcing the profiles of the
SSH user. I had to update my shell command to source my bashrc and
primarily my profile first before executing my command like so:
shell: . /path
Thanks Mike!
I downgraded to 1.9.4 and it worked well.
On Friday, February 12, 2016 at 12:15:20 PM UTC-5, Mike Biancaniello wrote:
>
> ansible.callbacks no longer exists in 2.0.
>
> it sounds like you are calling Ansible from a python script. If so, this
> process is very different in 2.0.
>
Spoke too soon, turning off fact caching fixed or worked around the
problem. Opened a bug report
https://github.com/ansible/ansible/issues/14456
>>
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and
Hi,
When one has multiple inventories like:
inventories/a/hosts
inventories/b/hosts
inventories/..
Is there an easy way to run a task or playbook against all of them without
explicitly having to define each inventory on the command-line?
The use case here is that all those groups contain
We’re excited to announce a clear roadmap to providing first-class support
for container orchestration with Ansible. Over the coming months we will
create a supported and maintainable solution that keeps pace with the fast
moving world of containers.
The current Docker modules will be around
with_items:
- {{ ansible_all_ipv4_addresses }}
- {{ ansible_all_ipv6_addresses | ipv6('public') }}
- tcpports
^ will flatten to single list
or you can use union to get unique single list:
with_items: "{{
tcpports|union(ansible_all_ipv4_addresses|union(ansible_all_ipv6_addresses
|
> similar to a question from about a year ago [1], I'm looking for the
> best way to loop over 3 lists:
>
> - {{ ansible_all_ipv4_addresses }}
> - {{ ansible_all_ipv6_addresses | ipv6('public') }}
> - tcpports
>
>
> ipv4 and ipv6 IPs should iterate in parallel (I'll check that their list
>
> with_items:
> - {{ ansible_all_ipv4_addresses }}
> - {{ ansible_all_ipv6_addresses | ipv6('public') }}
> - tcpports
>
>
> ^ will flatten to single list
>
> or you can use union to get unique single list:
>
> with_items: "{{
>
Brian Coca:
> ah, misunderstood the question, you wan to combine the nested and together
> lookups (possible example):
>
> with_nested:
> - "{{tcpports}}"
> - "{{lookup('together', [ansible_all_ipv4_addresses,
> ansible_all_ipv6_addresses | ipv6('public')] }}"
Since I certainly will need
no, as in many cases ansible is not running commands but doing system calls.
--
Brian Coca
--
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
ah, misunderstood the question, you wan to combine the nested and together
lookups (possible example):
with_nested:
- "{{tcpports}}"
- "{{lookup('together', [ansible_all_ipv4_addresses,
ansible_all_ipv6_addresses | ipv6('public')] }}"
--
Brian Coca
--
You received this message
sorry, did not test, surprised it does not take a list, maybe it has to be
quoted ?
--
Brian Coca
--
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
36 matches
Mail list logo