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-*
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
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:
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’
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!"
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'
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
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:
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
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"
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
11 matches
Mail list logo