Hi Team,
How to configure mail callback to generate the report as email for failed
jobs?
Thanks
--
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-pr
How does ansible reboot work?
Is it going group by group? Does it reboot the servers in the first group
waits for them to go up and only then starting with the second group?
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe fro
On 4/23/20 9:38 AM, דודו דודו wrote:
> How does ansible reboot work?
>
> Is it going group by group? Does it reboot the servers in the first group
> waits for them to go up and only then starting
> with the second group?
>
Which kind of groups are you referring to?
Regards
Racke
> --
Group in Hosts file
hosts:
- worker
- master
- etc
On Thursday, April 23, 2020 at 10:38:57 AM UTC+3, דודו דודו wrote:
>
> How does ansible reboot work?
>
> Is it going group by group? Does it reboot the servers in the first group
> waits for them to go up and only then starting wit
On 4/23/20 10:53 AM, דודו דודו wrote:
> Group in Hosts file
>
> hosts:
> - worker
> - master
> - etc
Like for any other task, Ansible is going to run the task in parallel for all
host in the play (to my knowledge).
You can change that with the "serial" keyword:
---
- name: test p
Thank you.
On Thursday, April 23, 2020 at 10:38:57 AM UTC+3, דודו דודו wrote:
>
> How does ansible reboot work?
>
> Is it going group by group? Does it reboot the servers in the first group
> waits for them to go up and only then starting with the second group?
>
--
You received this message b
Hi,
I have an ansible task that includes the reboot model.
In my environment I have 16 servers, When I run the playbook it looks that
all 16 servers were rebooted, but the playbook hang after the last reported
server. I needed to use CTRL + C in order to release the shell
I did the same test w
Hi
You can use strategy as free inside play and call multiple playbooks by
using include option in ansible
Thanks,
Vivek
On Wed, Apr 22, 2020, 7:38 PM Happy Souls
wrote:
> Hi,
>
> I would appreciate if someone could share a simple example of running 2
> playbooks running in parallel, called in
Hi Team,
Has anyone connected Riverbed (network device) thru Ansible? like using
command module or cli_command.
Thanks
--
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
Hi Team,
Has anyone connected Riverbed (network device) thru Ansible? like using
command module or cli_command.
Thanks
--
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
> all 16 servers were rebooted, but the playbook hang after the last reported
> server. I needed to use CTRL + C in order to release the shell
> [...]
> - name: Server reboot
> reboot:
> - name: Verify that all hosts are reachable
> ping:
> [...]
> <10.201.55.18> (0, 'root\r\n
Hi everyone, little question here :
Did a template in a role can be used/seen by another role in the meta of the
first one?
--
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, sen
Can we give the same information in hosts file and still work?
On Tuesday, April 21, 2020 at 11:55:02 AM UTC-4, Dick Visser wrote:
>
> just to make sure - this is a list of list of dictionaries.
> If this is your source of truth, and you intend to have a list of dicts,
> then it could look like t
Hey Everyone,
I've been having difficulty getting my ansible playbooks to route through a
bastion host (without ssh keys). For testing I have a cisco virl (virtual
internet routing lab) simulation up and running with virtualized network
devices, and the bastion host should be the server that is
What exactly is the purpose of pre_tasks/post_tasks when one can just put "pre"
tasks before the main tasks and "post" tasks after the main tasks in the
"tasks" directive?
I've read the documentation many times and I can't understand the need for
them. I must be missing something here, right?
Primarily they were introduced to provide execution order when using
`roles:`. `post_tasks` is probably mostly useless. The execution order is:
pre_tasks
roles
tasks
post_tasks
On Thu, Apr 23, 2020 at 4:05 PM Ricardo Amaral
wrote:
> What exactly is the purpose of pre_tasks/post_tasks when one
What exactly is the purpose of roles then? 😅
I mean, is there a difference between roles and use include_role /
import_role inside tasks?
On Thu, 23 Apr 2020, 22:08 Matt Martz, wrote:
> Primarily they were introduced to provide execution order when using
> `roles:`. `post_tasks` is probably mo
`roles:` existed long before `include_role` and `import_role`. Many on the
core team would say that `import_role` and `include_role` are the future.
I personally would like to see `pre_tasks`, `roles`, and `post_tasks`
deprecated. Time will tell...
On Thu, Apr 23, 2020 at 4:11 PM Ricardo Amaral
So, in other words, with include_role, import_role, and tasks, one can do
pretty much anything that roles, pre_tasks and post_tasks can do as well,
right?
Thank you so much for your help, that clarifies things for me :)
Stay safe!
On Thu, 23 Apr 2020, 22:16 Matt Martz, wrote:
> `roles:` existe
Thanks you for the help. I guess I was maker it harder than it was. Its
all working now.
On Wednesday, April 1, 2020 at 1:25:24 AM UTC-4, Dick Visser wrote:
>
> By adding an extra key:
>
> rules:
> - name: rule1
> policy: Policy-Foo
> actions:
> - type: forward
>
what do you mean. Examples with code?
On Thu, 23 Apr 2020 at 20:15, SandeepK wrote:
> Can we give the same information in hosts file and still work?
>
>
> On Tuesday, April 21, 2020 at 11:55:02 AM UTC-4, Dick Visser wrote:
>
>> just to make sure - this is a list of list of dictionaries.
>> If th
21 matches
Mail list logo