Glad to hear it.
On Friday, October 4, 2019 at 8:39:22 AM UTC+1, Piyush Bansal wrote:
>
> Hello J Hawkesworth,
>
> I would like to thank you very much for the suggestion.
> Issue got resolved now.
> Thanks for your help :)
>
> Thanks,
> Piyush
>
>
> On Thu, Oct 3, 2019 at 12:46 PM 'J
Well to get rid the warning, remove the "{{ and }} " from your 'when'
clause. The 'when' directive is a bit different from other places where
you use jinja2 expressions as the "{{ and }}" are implicit. Although this
might seem a bit inconsistent, it does result in easier to read tasks.
If
Thanks Soniya for answering, I did it, but I get errors, here they are, I don't
know if the error is in the questions or in the answer, can u help me???
[image: ErrorAnsible.PNG]
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To
Hi,
On Friday, 4 October 2019 11:46:27 UTC+1, Stephen Feyrer wrote:
>
> Hi everyone,
>
> The goal is to make the host reboot only if the ansible-fact
> 'reboot_pending' is true. This is achieved but generates a warning, is
> there a better way of doing this?
>
>
Just to be clear, I don't
I currently have an interesting scenario that I wonder if anyone has found
the solution for.
We are running ansible on RHEL7 managing Windows boxes which unfortunately
means we hit a couple of issues around pyOpenSSL versions.
We have one master playbook that imports all the other ones to run
Hi everyone,
I apologise, I am new to Ansible and this is rather open ended.
After extensive use of the documentation I have my inventory, vars, vault
and playbook all working together. However, there is room for improvement.
This is my simple proof of concept playbook:
---
- name: Run
Hi
This isn't so much an ansible specific question, but more a generic
strategy on how your wish to deploy things.
Ansible is just the tool to implement such as strategy.
You already have some sort of plan - work that out properly and then
structure the ansible playbook to fit that (provided you
Hi Stefan.
Here is my vagrant file
(1..3).each do |i|
config.vm.define "iri-0#{i}" do |node|
node.vm.box = "ubuntu/bionic64"
node.vm.box_version = "20190918.0.0"
node.vm.network "private_network", ip: "#{SUBNET}.1#{i}"
node.vm.hostname = "imi-0#{i}"
node.vm.provider
hey,
More exemple:
This task not works but i want this goal :
- name: "Display state end of playbook"
debug:
msg: "{{ *inventory_hostname.changed* }}"
or *inventory_hostname.skipped* or *inventory_hostname.failed*
I want get vlue of play_recap !!!?
Someone can help me please guy !!
Hey Jon,
Thanks for your help but i don't understand.
If my first question is so complexe, i want other solution.
I want get value of play_recap, when my playbook is finish, i want get
value of "skipped=0" or "Changed=5"
Do you understand my question ??
Thanks very much community ansible
Hello J Hawkesworth,
I would like to thank you very much for the suggestion.
Issue got resolved now.
Thanks for your help :)
Thanks,
Piyush
On Thu, Oct 3, 2019 at 12:46 PM 'J Hawkesworth' via Ansible Project <
ansible-project@googlegroups.com> wrote:
> I suspect the issue is to do with
On 10/3/19 7:42 PM, Alfredo De Luca wrote:
> still doesn't work. everything I do the first time doesn't work and the
> second time it does
>
> very very weird...
Can you provide OS and release information about the target?
Regards
Racke
>
>
> On Thu, Oct 3, 2019 at 7:52 AM P.
If I understand you correctly than try to do this. Make a folder host_var in
your inventory folder. Than make a file with the exact same name as your host
inside it,
something like: inventory/host_var/host1.yaml
Inside that file you'll put the vars and those you can you use global for that
Hello Ansible Gurus,
Any inputs for me to resolve this issue.
On Friday, September 20, 2019 at 1:07:20 PM UTC+5:30, Srinivas Naram wrote:
>
> Hello Ansible Gurus,
>
> I am new to Ansible and trying to get my hands dirty on playbooks. I wrote
> an yaml file to use a variable from one host tasks
14 matches
Mail list logo