Can you be more clear in what you are actually trying to achieve?
What problem are you exactly having?
Share a playbook or inventory that does not do what you want, for example.
On Wed, 10 Feb 2021 at 06:39, esxi...@gmail.com wrote:
> So again experts & it could be a feature request ...
>
>
>
So again experts & it could be a feature request ...
## How can we dynamicailly update OS custome attribute
- name: Set Custom Attributes
community.vmware.vmware_guest_custom_attributes:
validate_certs: False
hostname: '{{ vcenter_hostname }}'
username: '{{
Sorry for not being clear..
What I did .. was .. nothing. No code change from the code posted.
I use Visual Studio Code ... and did not between changes save file before
running test... which then got back false "failure"... and do kept trying
other things.
The below code works
from global
Great ...it filter not only based on Tags but custom attributes as well...
!!!
On Tuesday, February 9, 2021 at 7:06:40 PM UTC-8 esxi...@gmail.com wrote:
> Please ignore..i removed & re-added the tag & its working .. Thanks @
> Abhijeet
> Kasurde
>
> On Tuesday, February 9, 2021 at 7:01:47 PM
Hello All,
I am trying to parse JSON output and use it as a variable in a playbook.
Whilst the JSON query works perfectly fine if I run it on the bash command
line, but for some reason, Ansible is not parsing the JSON output as
expected. The play book and play recap are available at the below
Please ignore..i removed & re-added the tag & its working .. Thanks @ Abhijeet
Kasurde
On Tuesday, February 9, 2021 at 7:01:47 PM UTC-8 esxi...@gmail.com wrote:
> tested on Ubuntu 20.04 ..
>
> I am able to see all vms
>
> eg
>
>
> "xx": {
> "Application": "xx",
>
tested on Ubuntu 20.04 ..
I am able to see all vms
eg
"xx": {
"Application": "xx",
"Environment": "xx",
"LOB": "xx",
"Location": "xx",
"NB_LAST_BACKUP": "xx",
"OS": "Ubuntu18.04",
Hi all,
We're happy to announce that the ansible-3.0.0 release candidate 1
package is now available for testing! This update is based on the
ansible-base-2.10.x package just like ansible-2.10 was so the changes
shouldn't be too major. However, it does contain new major versions
of many
On Tuesday 09 February 2021 at 23:43:41, Jeremey Wise wrote:
> Correction:
>
> This was an error where I was trying too many things and did not re-test
> with all correct variables set.
>
> This does work:
> Co-worker pointed out to dump password out as variable and I saw it was
> read that in
Correction:
This was an error where I was trying too many things and did not re-test
with all correct variables set.
This does work:
Co-worker pointed out to dump password out as variable and I saw it was
read that in wrong as I changed several times to test things
On
Hi,
Just gave some directions in the issue on github to make it work
Regards,
JYL
Le 09/02/2021 à 17:00, C.J. Brown a écrit :
Say, did you ever find a better solution here? Because I've run into
the same problem recently, and...well, it's ugly.
I saw that this ticket had been filed
Small correction. The pip install instructions should read:
$ pip uninstall ansible
$ pip install ansible==2.10.7 --user
Thanks!
-Toshio
On Tue, Feb 9, 2021 at 1:28 PM Toshio Kuratomi wrote:
>
> Hi all,
>
> We're happy to announce that the ansible-2.10.7 package is now
> available! This
Hi all,
We're happy to announce that the ansible-2.10.7 package is now
available! This update contains bugfixes and new, backwards compatible
features in the contained collections.
Ansible-2.10.x is a big change in how the Ansible package is built so
if you missed out on all the changes that
Le 09/02/21 à 13:21, Vladimir Botka a écrit :
> It's possible to omit src conditionally e.g.
>
> - name: enable plugins for baremetal only
>file:
> path: "/etc/munin/plugins/{{ item }}"
> state: "{{ is_baremetal | ternary('link', 'absent') }}"
> src: "{{ is_baremetal |
Hi all,
I've tried this and it's worked before but after an upgrade some time ago,
it stopped working. I haven't used it in ages.
Anyway, if I want to get variables about my inventory: mac address, ip, os
version, etc., and write that to a file, what would be my syntax on doing
this?
--
You
Say, did you ever find a better solution here? Because I've run into the
same problem recently, and...well, it's ugly.
I saw that this ticket had been filed against Ansible:
https://github.com/ansible/ansible/issues/66310
...but was auto-closed by ansibot when all this stuff got moved to
Still learning Ansible... but I think this is a feature request / maybe a
bug?
Hoping their is a work around.
Goal: Create a user on CentOS host with membership of wheel group, ssh key
and use a provided password but NOT store password in plain text within
ansible.
I am using vault where
(This is a cross post from the AWX Project group I made about a week ago. I
am just making it here in the hopes anyone with more ansible knowledge here
may be able to help me in the mean time.)
I am trying to get AWX running on a docker swarm and I am running into this
problem with
On Tue, 9 Feb 2021 12:47:39 +0100
Daniel Caillibaud wrote:
> Le 09/02/21 à 12:29, Vladimir Botka a écrit :
>
> > On Tue, 9 Feb 2021 11:17:26 +0100
> > Daniel Caillibaud wrote:
> >
> > > - name: enable plugins for baremetal only
> > > file:
> > > path: "/etc/munin/plugins/{{ item }}"
Le 09/02/21 à 12:29, Vladimir Botka a écrit :
> On Tue, 9 Feb 2021 11:17:26 +0100
> Daniel Caillibaud wrote:
>
> > - name: enable plugins for baremetal only
> > file:
> > path: "/etc/munin/plugins/{{ item }}"
> > state: "{{ is_baremetal | ternary('link', 'absent') }}"
> > src:
On Tue, 9 Feb 2021 11:17:26 +0100
Daniel Caillibaud wrote:
> - name: enable plugins for baremetal only
> file:
> path: "/etc/munin/plugins/{{ item }}"
> state: "{{ is_baremetal | ternary('link', 'absent') }}"
> src: "/usr/share/munin/plugins/{{ item }}"
> loop:
> - acpi
>
Hi,
I want a symlink to be present on some hosts and absent for others, so I write
this task
- name: enable plugins for baremetal only
file:
path: "/etc/munin/plugins/{{ item }}"
state: "{{ is_baremetal | ternary('link', 'absent') }}"
src: "/usr/share/munin/plugins/{{ item }}"
22 matches
Mail list logo