[ansible-project] Query related to junipernetworks.junos.junos_interfaces

2020-10-26 Thread debasmita hazra
Hello All, I am just starting out with working on Ansible. Hence, my query might be very elementary in nature but I cannot seem to get over it. I am trying to basically disable a port on a Juniper switch using the junos_interfaces module. However, I run into an error stating the following-*

[ansible-project] vars plugin

2020-10-26 Thread Guy Matz
peeps, I wrote a vars plugin: https://guy.matz.org/2020/10/26/a-vars-plugin-for-ansible/ any comments would be appreciated. Thanks, Guy -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving

Re: [ansible-project] Advice on build Immutable VM's ( VMware )

2020-10-26 Thread SP
Thanks @abhijeet and @Dan, In my environment i use Ansible for Configuration Management , Virtual Machines builds and lot more automation. How can we make Virtual Machine ( Centos/Redhat linux OS ) immutable once vm deployed? On Monday, October 26, 2020 at 10:17:52 AM UTC-5 Dan Linder wrote:

[ansible-project] Limit Log Output

2020-10-26 Thread Troy Fine
Hello, I was wondering is there a way I can drastically reduce the amount of logging that is output while a set of tasks is running? At the very least we’d like to try to limit/eliminate the ‘info’ logging, would be even cooler if it also showed the short-hand status ‘changed, passed, etc’

[ansible-project] Re: change root password - ned help

2020-10-26 Thread Tony Wong
but when i put static value into the main.yml file it works --- - name: "change the root password" hosts: localhost tasks: - name: "change root pass" community.vmware.vmware_local_user_manager: hostname: ""esx1" username: "root" password: "xxx!"

[ansible-project] change root password - ned help

2020-10-26 Thread Tony Wong
inventory file [esx] esx1 esx2 esx3 [esx:vars] ansible_python_interpreter=/usr/bin/python3 - answer file esxi_hostname: '{{ inventory_hostname }}' esxi_root_user: 'root' esxi_root_pass: 'xxx' new_esx_local_root_user: 'root'

Re: [ansible-project] Any possible way to setup Ansible on windows 10 without WSL

2020-10-26 Thread Lasse Knudsen
No that is not possible on Windows. But you can use a Linux VM on your local machine to run your playbooks against Windows machines via openSSH or WinRM. We have created a vagrantfile in our project. That file will start a CentOS 8 machine in VirtualBox with ansible installed. We mount the

[ansible-project] Ansible roles to configure different multiple wordpress server

2020-10-26 Thread unai abrisketa sanchez
Hi Team! I am having a big doubt while using Ansible to deploy my wordpress servers. I am using the wp-cli utility to install wordpress, so I want to use ansible roles in order to execute each role to each server with the modifications needed. For example I have three different server names:

Re: [ansible-project] Advice on build Immutable VM's ( VMware )

2020-10-26 Thread Dan Linder
I'll second @abhijeet and the use of the "vmware_guest" and "vmware_guest_sendkey" modules. It permits you to completely build your templates from a known ISO from your vendor (validated with a SHA256 checksum), using a kickstart file of your own, and no human interaction. And if the

Re: [ansible-project] Re: need a playbook to change esxi root pass

2020-10-26 Thread Tony Wong
yes! That did it. Thank you --- - name: "change the root password" hosts: localhost tasks: - name: "change root pass" community.vmware.vmware_local_user_manager: hostname: "myesxhost" username: "root" password: "xx" local_user_name: "root"

[ansible-project] Ansible automation for SAP - Issue and Best practices

2020-10-26 Thread Pratheek P
Dear Ansible community, I want to try out Ansible automation for SAP where we automate SAP start/stop, Oracle DB start/stop processes. I'm able to achieve this by creating playbooks, using become method to change user and establishing open SSH connection from root of Ansible control node to