Hello
Directly is not working
TASK [Rename object name]
fatal: [localhost]: FAILED! => {"changed": false, "msg": "Unsupported
parameters for (community.vmware.vmware_object_rename) modu
Hello
In case of gather info there is no mood :(
"properties": [
"_moId"
],
"proxy_host": null,
"proxy_port": null,
"schema": "vsphere",
"username": "root",
"validate_certs": false
set facts are not working
When i use 'prompt' parameter of ios_command module for IOS image copying
as in Example 1, it fails. But it succeeds as in Example 2.
I want to understand why? I am trying to understand why this below syntax
works?
Destination filename \[ image name\]?'
This issue happens only for IOS copying
Hello,
"become: yes" means you need to become a different user than the user used
to connect. By default "root" as is normally used to elevate privileges.
"*become_user: postgres*" if you need a different user, other than
connecting user or root.
On Tue, Mar 2, 2021 at 12:25 AM Istvan Kis wrote:
Thank you for the information, it is well received.
On Monday, March 1, 2021 at 1:33:58 PM UTC-6 dick@geant.org wrote:
> In that case you should not use ansible at all to manage this system.
> There is a reason ansible requires python 2.6+. So even if you would
> somehow get this (arcane and
I am currently patching firmware on 100+ routers in the field with the raw
command. It is doing an ftp get from a file and after that it flashes the
router and reboots the router. But ansible hangs. Is it possible to fix
this?
--
You received this message because you are subscribed to the Goog
There's not much else we can say, the error you have indicates the shell
being used in OpenSSH is cmd so trying to run ansible_shell_type=powershell
will cause that failure. Either set it to cmd or work out how to change the
DefaultShell for your installation on the Windows host. Ansible needs t
On 3/1/21 6:36 PM, Raja Natte wrote:
> Hi,
>
> How to copy remote to remote hosts.
Basically this should work:
- name: copy files from server_a to server B,C,D.
synchronize:
mode: push
src: "/tmp"
dest:
delegate_to: server_a
when: inventory_hostname != 'server_a'
Regar
Not sure if you have found the answer but you might try a couple things to
help investigate. It seems to me that something is not "awake" during the
first transaction but then awakens and begins processing.
Does you company have leased lines that go dormant when not in use? Have
you tried s
That page may have been deprecated cause I believe the same instruction is
found in the faqs now.:
*https://docs.ansible.com/ansible/latest/reference_appendices/faq.html#how-do-i-generate-encrypted-passwords-for-the-user-module*
On Wednesday, February 10, 2021 at 7:08:21 AM UTC-6 jereme...@gmail
Hi all,
Could anyone please share some knowledge on how to kill/restart ssh from
remote connection in Ansible?
Basically, I need to re-login in order the changes to take affect but it
seems that Ansible has shared connection for ssh.
any help much appreciated
cheers
--
You received this mes
it is 'useless' for those not using certain features, but mandatory to
support them.
Also you have the 'user' module and user(deprecated)/remote_user
keywords (login user) so become_user is required for disambiguation,
but you can drop `become_user: root` since that is the default.
--
--
- meta: reset_connection
Though if you are not using the default control path you might find
issues, which i'm in the middle of fixing.
--
--
Brian Coca
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this gr
Hi
I have a playbook which create the vm in vCenter
---
- hosts: localhost
gather_facts: false
connection: local
vars_files:
- ./vars/xxx.yml
tasks:
- name: Create VM using template
vmware_guest:
hostname: "{{ vcenter_server }}"
username: "{{ vcenter_user
Can you provide output of lineinfile ? Mine look like
changed: [localhost] => (item=a) => {"ansible_loop_var": "item", "backup":
"", "changed": true, "item": "a", "msg": "line added"}
changed: [localhost] => (item=b) => {"ansible_loop_var": "item", "backup":
"", "changed": true, "item": "b", "msg"
Thanks for the reply Abhi
What i noticed is it does update the file if there is no entry like blow is
the o/p
TASK [Update the Inventory]
*
for eg
[group1]
server1
server2
[group2]
server1
server2
if you remove from group one & run does not update So lineinfile
should have someway to say the position exactly below [group1] add is
missing ...
On Tuesday, March 2, 2021 at 11:08:50 PM UTC-8 esxi...@gmail.com wrote:
> Than
17 matches
Mail list logo