Thanks Phil, I appreciate it. -- Michael A CooperLinux Certified / Docker Certifiedhttp://www.coopfire.com From: Phil GriffithsSent: Monday, March 16, 2020 4:19 PMTo: Ansible ProjectSubject: Re: [ansible-project] Another Ansible Question Hi Michael You might want to check out ansible-runner:
Thank you, This looks very promising. -- Michael A CooperLinux Certified / Docker Certifiedhttp://www.coopfire.com From: Claudia de LunaSent: Monday, March 16, 2020 10:54 PMTo: Ansible ProjectSubject: [ansible-project] Re: Another Ansible Question See if this helps at all
i have created the list using set_fact and i want use this list in another
playbook.
i have stored the value in the ouput.
how do i use it in another playbook??
tasks:
- name: Initialize an empty list for our strings
set_fact:
test: []
- name: second
set_fact:
I created a docker container to install Ansible for testing different
versions, etc. As folks here have mentioned, it's not really the purpose of
the ansible/ansible image. However, I just run it with a sleep command at
run time, for like 29000 seconds (eight hours) since the container has to
See if this helps at all
https://gratuitous-arp.net/ansible-server-in-docker-for-network-engineers/
On Monday, March 16, 2020 at 3:02:18 AM UTC-7, Michael Cooper wrote:
>
> Hey Guys,
>
>I am trying to get ansible working on docker. The image that I am
> using is ansible/ansible and
Found a way through setting up
my proxy under environment: in ansible playbook,
now facing this error
FAILED! => {"changed": false, "msg": "Failed to download packages: Cannot
download 7.6.1/elasticsearch-7.6.1-x86_64.rpm: All mirrors were tried",
"results": []}
any clue to this?
On Monday,
Command : ansible-playbook elk-playbook.yml
Output:
PLAY [all]
*
TASK [Gathering Facts]
*
ok: [172.28.158.115]
TASK [ping]
Hi Michael
You might want to check out ansible-runner:
https://ansible-runner.readthedocs.io/en/latest/container.html
There's also something like molecule which is designed for testing roles,
and can be used with docker:
https://molecule.readthedocs.io/en/latest/index.html
If you want to see
Ah OK I see.
In this case it's best to seek help from the author(s) of those roles.
As a start, you could submit an issue at
https://github.com/freeipa/ansible-freeipa/issues
Regards
On Mon, 16 Mar 2020 at 16:14, Andrew Meyer wrote:
>
> I am trying to install the the FreeIPA client on CentOS
I am trying to install the the FreeIPA client on CentOS and RHEL 6,7,8
servers.
I am using the ansible-freeipa module
https://github.com/freeipa/ansible-freeipa
The only problem I have encountered is the one I pasted regarding the
keytabs or otp.
Here is the command I used:
ansible-playbook
On Mon, 16 Mar 2020 at 15:21, Ralf Weber wrote:
> Thanks a lot that worked fine for me also. Now given the issue list I may
> run into other problems with getting IPv6 deployed, but I’ll try anyway.
Good to hear.
We are running many dual stack environments that are deployed with ansible.
They do
Moin!
On 14 Mar 2020, at 9:07, Dick Visser wrote:
> This is indeed not supporting by the ec2_vpc_net module.
> I am using an aws cli helper task, which needs to be conditional to
> prevent adding the prefix when it's already there:
>
> - name: Ensure VPC is available
> ec2_vpc_net:
> name:
Hello Felix,
I kind of figured that was going to be the story.
It would be nice if there was an easy way to do this, I am tring to get
away from the VM route and go with containers. I will have to keep
researching.
Thanks,
On Monday, March 16, 2020 at 6:17:07 AM UTC-4, Felix Fontein wrote:
>
Hello Jon,
Thanks for writing to me..!!
The memory leak hotfix is for PowerShellv3 but I am facing issues with
PowerShellv4. Below are the connection variables I am using:
ansible_ssh_port=5986
ansible_connection=winrm
ansible_winrm_server_cert_validation=ignore
ansible_winrm_transport=ssl
Hi,
according to the description on
https://hub.docker.com/r/ansible/ansible the Docker image
ansible/ansible is "[...] for automated testing of Ansible. They do not
include Ansible and are not for end users."
So please don't use that image if you want to run Ansible.
I'm not sure whether there
Hey Guys,
I am trying to get ansible working on docker. The image that I am
using is ansible/ansible and there are no instructions for a run line on it.
So this is what I tried but it doesn't work.
docker run -dit --name cfANS --ip xxx.xxx.x.xx --network=CFSNET -p 22:22 -v
@Dick your suggestion helped !! it works.
On Monday, March 16, 2020 at 1:27:14 PM UTC+5:30, Dick Visser wrote:
>
> Ah OK yes, i see, you're right.
> The issue is your quoting, as indicated by the error message.
> Instead of:
>
>- file: path="{{ playbook_dir }}/dashboard/{{ my_result.name
You can use throttle on block, hovewer it will not work as you need
https://github.com/ansible/ansible/issues/64659#issuecomment-564604298
Dne neděle 15. března 2020 16:57:44 UTC+1 Kai Stian Olstad napsal(a):
>
> On 14.03.2020 14:06, Jelle de Jong wrote:
> > I would like to request the feature
Ah OK yes, i see, you're right.
The issue is your quoting, as indicated by the error message.
Instead of:
- file: path="{{ playbook_dir }}/dashboard/{{ my_result.name }}
state=directory recurse=yes"
Do this:
- file: path="{{ playbook_dir }}/dashboard/{{ my_result.name }}"
state=directory
Hi shifa,
Can you please check whether dashboard dir is present on remote server?
Thanks,
Vivek
On Mon, Mar 16, 2020, 1:11 PM Shifa Shaikh wrote:
> Dick Hi, The issue is not with the loop as I can see the correct value
> populated using debug.
>
> Aslo, the correct value shows up in the error
Dick Hi, The issue is not with the loop as I can see the correct value
populated using debug.
Aslo, the correct value shows up in the error output from the loop ... see
below:
fatal: [localhost]: FAILED! => {"changed": false, "msg": "file
(/tmp/dashboard/APP state=directory recurse=yes) is
Hi
you've missed a few basic things. The vars file contains a duplicate
variable layers - that won't work.
Also, you appear to want to loop over the variable layers, but you
don't actually use it.
Have a look at this URL, it has some nice examples of how loops work:
Hi
Thanks for using ansible. To answer your question more information is
needed. Could you please describe clearly all of the below:
- Which commands did you run, and what actual output did you get
(copied as plain text - not as screenshots, images, or other binary
attachments).
- What do the
Here is my variable file:
cat vars.yml
---
layers:
- name: APP
layers:
- name: WLS
Here is my playbook
cat varloop.yml
---
hosts: localhost
vars_files:
- vars.yml
tasks:
- name: Create sublinks based of bad.txt files
include_tasks: "{{
24 matches
Mail list logo