Hello, thanks for reply.
I've two hosts in the play, and one of the hosts assert module doesnt
validate to true and fails. With any_errors_fatal command I expect the
playbook to stop on all hosts within the play. But in my case, the play
stops only on failed host, it continues with other host wher
Yes any_errors_fatal is what you need:
https://docs.ansible.com/ansible/latest/playbook_guide/playbooks_error_handling.html#aborting-on-the-first-error-any-errors-fatal
When you say it doesn't seem to work, what does not seem to work?
*Kosala*
On Tue, Jun 6, 2023 at 2:07 AM edvina...@gmail.co
My bad! sorry!
El dom, 4 jun 2023 a las 10:12, Nico Kadel-Garcia ()
escribió:
> On Fri, Jun 2, 2023 at 10:20 AM James Tobin wrote:
> >
> > Hello, I'm working with an employer that is looking to hire a Linux
> > sysadmin with terraform, ansible and python experience for an
> > infrastructure posi
Yes, I am interested in this position.
Thank you. Regards
*Boma L**aw**son*
*(240)385-6117*
On Fri, Jun 2, 2023 at 10:20 AM James Tobin wrote:
> Hello, I'm working with an employer that is looking to hire a Linux
> sysadmin with terraform, ansible and python experience for an
> infrastructure
Hello,
My playbook has several hosts, and I have some tasks with *assert *and *fail
*modules. How to do that if the task gets any fatal error in the play
within particular host - the whole play should is terminated ?
I thought that playbook command *any_errors_fatal *would work, but seems
not.
Hello All,
I wanted to restart 1 windows service on 2 hosts 1 min apart, is there any
way we can achieve this.
Here is the my playbook Let me know in case of anything
---
- name: restart the fedex service
hosts: Windows1
tasks:
- win_service:
name: fedex
state:
On Mon, 5 Jun 2023 at 12:26, dulhaver via Ansible Project <
ansible-project@googlegroups.com> wrote:
> I want to download a .j2 file from a local bitbucket repository to a local
> folder.
> ==
>
> - name: download artifacts - fetch temp
right. It was clear, but not correct I am afraid. Apologies.
I meant it the other way around. Checking whether postgres1 can be connected to
FROM another machine.
Still the hint to the wait module was real value for me, thanks for that.
> On 06/05/2023 1:07 PM CEST Vladimir Botka wrote:
>
>
On Mon, 5 Jun 2023 11:53:44 +0200 (CEST)
dulhaver via Ansible Project wrote:
> probably I did not make myself clear enough
No. Your statement can't be clearer: "to check whether postgres1 has
a connection via port 5432 to a specific IP address"
https://groups.google.com/g/ansible-project/c/dkR80
I want to download a .j2 file from a local bitbucket repository to a local
folder.
==
- name: download artifacts - fetch template from repo
delegate_to: localhost
ansible.builtin.get_url:
url:
"https://devtools/bitbucket
probably I did not make myself clear enough
> - hosts: postgres1
> tasks:
> - wait_for:
> host:
> port: 5432
I guess this would check whether 'postgres1' can connect to :5432.
What I wanted to check (without waiting for a connection to be ready actually,
just ga
11 matches
Mail list logo