Yes, i guess i will need to read on that as well... I've tried so many
different options and still not getting this playbook to work. All i need
is this playbook to ssh to switch, enter enable mode - run "show run"
command and save running config on local server, sounds easy and doable but
Thanks all. If I understand the Playbook Intro correctly, I changed the
playbook to
x@ansi0003vm001:~/FSL$ cat -T main.yaml
---
- name: Add Netconf User
netconf_config:
host: 192.168.0.100
username: root
password: hellothere
xml: |
Unfortunately Windows has all these issues when it comes to credentials not
being able to to the WinRM session where the major ones are;
* Being able to access a network share with the current users' credentials
* Being able to access DPAPI
* Being able to access the Windows Update API
* Some
Hello Folks ,
Did anyone use customvalues options with vmware_guest module ?
1- My concern what is the purpose of this option ?
2- And why people use this option vmware_guest module ?
3- Does this option help to modify vmx file values?
Thanks
--
You received this message because you are
Thanks,
I think this option only work with ansible-2.5 you are right.
On Thursday, 22 March 2018 17:38:33 UTC-4, Nick Rogers wrote:
>
> Well, I'll be honest, I don't have a place to run 2.5 currently, so
> someone else may have to chime in. I saw that config in the source on
> GitHub.
>
>
Ok, thank you very much!
Many of the previous failures of the Windows credentials , can be solved
with CredSSP?
Windows does have a lot of limitations, and it will be much easier to
deploy on Linux later.
在 2018年3月22日星期四 UTC+8下午7:09:30,Jordan Borean写道:
>
> Installing SQL server requires access
I see something similar called the "win_security_policy" but I couldn't
follow the example in the documentation.
For example, if i want to add an user called svc_foounder the following
Computer Configure => Windows Settings => Security Settings => Local
Policies => User Rights Assignment =>
Well, I'll be honest, I don't have a place to run 2.5 currently, so someone
else may have to chime in. I saw that config in the source on GitHub.
I also create many VMs from templates currently with 2.4, from a base
template configured with 1 CPU that is deployed to targets with multiple
CPUs,
Most module examples are 'specific tasks', they are supposed to be in
the context of a play and playbook.
If you are unclear on what that is, i suggest starting at
http://docs.ansible.com/ansible/latest/intro.html
--
--
Brian Coca
--
You received this message because you are
Yes I also tried this option but it does not impact my number of sockets.
Thank you for your reply ,
Appreciate your response.
( Note I am creating vms from templates ) .
Any suggestion ?
Output from (
hardware:
memory_mb: "{{ ram_size }}"
num_cpus: "{{ cpu_nums }}"
I thought I am following the example of
http://docs.ansible.com/ansible/latest/netconf_config_module.html.
On Thu, Mar 22, 2018 at 3:32 PM, Kai Stian Olstad <
ansible-project+l...@olstad.com> wrote:
> On Thursday, 22 March 2018 20.22.02 CET Armstrong Soo wrote:
> > Hi all, I am testing a very
Looks like in 2.5 you specify 'num_cpu_cores_per_socket' in the
vmware_guest 'hardware' dictionary.
- name: Create VM
vmware_guest:
hostname: somevmwareesxhost
... other vmware_guest config ...
hardware:
num_cpus: 4
num_cpu_cores_per_socket: 8
... other hardware
On 20.03.2018 02:29, aegiacome...@hotmail.com wrote:
Hi guys, i 've been tasked for deletion of "ip sla x" lines at several
routers.
I have created this playbook, that works fine with all routers, except
the
ones which do not have "ip sla x" configured.
This is the playbook:
---
- name: IOS
On 20.03.2018 16:41, Ukesh Kumar Vasudevan wrote:
I am having the below ansible script.
While executing the script, I am getting error in the role
'install-packages'.
The error is,
"msg": "The task includes an option with an undefined variable. The
error
was: {{ ip }}: 'ip' is undefined.
On 20.03.2018 18:25, Cyberbob wrote:
Hi team,
i have this playbook:
---
- hosts: "{{ leaf_name }}"
gather_facts: no
connection: local
vars_prompt:
- name: "leaf_name"
prompt: "Enter switch hostname/ip"
private: no
- name: "vlan_id"
prompt: "Enter access vlan for L2
Hello,
I am deploying vms with vmware_guest module, and I need to edit "number of
cores per socket" what statement should I use ?
I tried the following statement but it always give me error.
customvalues:
- key: cpuid.coresPerSocket
value: 2
Error :
fatal: [kuber-n-03
Hello Guys,
I'm trying to install ansible tower on one of my nodes and it takes very
long to finish.
I'm running the setup.sh from this file,
http://releases.ansible.com/ansible-tower/setup/ansible-tower-setup-latest.tar.gz.
The setup.sh has lot of tasks to execute and it hangs for sometime
On Thursday, 22 March 2018 20.22.02 CET Armstrong Soo wrote:
> Hi all, I am testing a very simple playbook for netconf and I didn't get
> very far. What did I do wrong?
>
>
> ERROR! 'netconf_config' is not a valid attribute for a Play
>
> The error appears to have been in
Hi all, I am testing a very simple playbook for netconf and I didn't get
very far. What did I do wrong?
ERROR! 'netconf_config' is not a valid attribute for a Play
The error appears to have been in '/home/as2618/FSL/main.yaml': line 1,
column 3, but may
be elsewhere in the file depending on
Hi
My playbook is executed from this directory /home/projectA/playbook and it
contains roles directory.
One of the task defined within a role of this playbook would like to call
another role which is not defined under /home/projectA/playbook/roles
but within a different directory
Just an update.
I figured where authorize: yes and auth_pass: cisco should stand...
Under "ios command:"
tasks:
- name: show run
ios_command:
authorize: yes
auth_pass: cisco
commands:
hope this helps if anyone is having same issue.
--
You received this message
Many thanks for your help. Problem resolved !
On Thursday, March 22, 2018 at 5:12:19 PM UTC+1, cmou...@redhat.com wrote:
>
> Hi,
>
> This syntax works to override the var "service_mesh" when we execute this
> ansible playbook command
>
> "ansible-playbook -i inventory/cloud_host
On Thursday, 22 March 2018 17.30.23 CET Brian Coca wrote:
> when: service_mesh | bool
>
> the == is redundant at this point
I know, but I like reading and using explicit rather than implicit code.
--
Kai Stian Olstad
--
You received this message because you are subscribed to the Google
when: service_mesh | bool
the == is redundant at this point
--
--
Brian Coca
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to
On Thursday, 22 March 2018 17.12.19 CET cmoul...@redhat.com wrote:
> Hi,
>
> This syntax works to override the var "service_mesh" when we execute this
> ansible playbook command
>
> "ansible-playbook -i inventory/cloud_host playbook/post_installation.yml
> -e service_mesh=true"
>
> but the
Hi,
This syntax works to override the var "service_mesh" when we execute this
ansible playbook command
"ansible-playbook -i inventory/cloud_host playbook/post_installation.yml
-e service_mesh=true"
but the var is not set to true if thethis var is defined within a
extra_vars.yml file and
Options like "host" and "username" are part of provider option. You
should check the options and also the indentation.
On Wed, Mar 21, 2018 at 7:54 PM, wrote:
> Hi Everyone!
>
> I am new to "Ansible". I've created a playbook that backups cisco running
> config. My problem is
Thx for the reply sdoran
So using Ansible is for free and I'll licensing for using Tower for more
than 10 nodes? if so, what will be the definition if node ??
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group
That works! Thanks Kai.
On Thursday, March 22, 2018 at 8:39:55 AM UTC-6, Kai Stian Olstad wrote:
>
> On Wednesday, 21 March 2018 22.03.13 CET John Harmon wrote:
> > I have the following which works. However, I would like to make the bash
> > script code "pretty". It is found under the
Hi All
Has anyone had successful experience using Ansible with multi boot
machines.
My case we have clusters of 16 machines that have 3 Boots:
*1. Ubuntu 16 *grub option 0
*2. Windows 10 Pro *grub option 1
*3. Windows server 2016 *grub option 2
The challenge is booting from Windows back to
Interesting... I'm using version 2.4.0.0 (fresh enough as you see) and
that's what I have with serial strategy:
andrey@aagenosov:~/projects/devops/ansible_notes$ ansible-playbook -i
'127.0.0.1,10.0.0.1' use_unavailable_nodes.yml --ask-pass -u andrey
SSH password:
PLAY [all]
Ansible is the command line tool that does most of the work while Ansible
Tower is a web application that provides a REST API, RBAC, secure
credential storage, and a scheduler (among other things) *on top of*
Ansible the command line tool. You can't have Ansible Tower without
Ansible, so
Hi All
Has anyone had successful experience using Ansible with multi boot
machines.
My case we have clusters of 16 machines that have 3 Boots:
*1. Ubuntu 16 *grub option 0
*2. Windows 10 Pro *grub option 1
*3. Windows server 2016 *grub option 2
The challenge is booting from Windows back to
Thank you @Andrew.
I will work on it and publish it on my free time.
Le vendredi 16 mars 2018 19:26:14 UTC+1, Andrew Latham a écrit :
>
> Kitslap
>
> You are fine to translate and share. You are only adding value to the
> project where there is currently no method of handling translations. In
On Wednesday, 21 March 2018 22.03.13 CET John Harmon wrote:
> I have the following which works. However, I would like to make the bash
> script code "pretty". It is found under the "content" section of the
> with_items. How can I do this?
>
> - name: Ensure myscript.sh contains directory
Hello,
I would like to test my playbook in sandbox do we have anything similar to
puppet r10k deployment for Ansible
Regards,
Bala
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails
Hello Ram,
I'm working on the same requirement.
Do you have solution for it now?
Can you help me in spinning up a VM in virtual bix using ansible, that
would be great.
Thanks in advance.
Thanks,
Vijay
On Thursday, March 10, 2016 at 9:21:39 AM UTC-5, Ram wrote:
>
> Hi,
>
> I am new to
Use the getent module to get user list, make the user task conditional on that.
--
Brian Coca
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to
Hello,
I've got similar errors on Ubuntu 16.04 and Ansible 2.0.0.2:
a)
TASK [pull an image]
***
fatal: [127.0.0.1]: FAILED! => {"changed": false, "failed": true,
"module_stderr": "", "module_stdout": "Traceback (most recent call
Is there a way in the user module to not create a user if it doesn't find
it. This is so we can update the password for that user on a list of
servers, but if the server doesn't have the user it will just skip it
rather than create a new user
--
You received this message because you are
Hi,
This is my file, in which i want to change some existing line.
Some random text: testing line
Below are examples:
Example 0
Example 1
Example 2
path:this file path is /home/ansible/Test_folder1/Test_path.cgf
i need this:
Some random text: testing line
Below are some examples:
Example 0
I'm confused. From what I've understood, There are Ansible and Ansible
Tower.
Ansible is for free while Ansible Tower costs. True \ False?
In case True,
1) Where can I find comparison matrix ? \ What is the difference ??
2) Where to download from ?
--
You received this message because
try yum installed | grep pip
or yum installed | grep python
On Wednesday, March 21, 2018 at 12:47:54 PM UTC, SHR wrote:
> RedHat 7
>
> On Wednesday, March 21, 2018 at 6:00:16 PM UTC+5:30, Daley Okuwa wrote:
>>
>> hi,
>>
>> What flavour of unix are you working on and what version
>>
>>
>> On
I looked at the Detail.txt file that was installed, and found that it was
the following error.
Access denied,Should it be a question of permissions, how do you get around
Windows authorization or generate credentials?
>
>
dict object has no attributes 'sydout'\n\nThe error appears to have been in
'usr/share/ceph-ansible-*vmasc*
/roles/ceph-common/tasks/miscsystem_tuning.yml
I have created a new ps1 file under Windows. I will put this code in it and
call the file via ansible remote.
I will solve this problem.
Thank you very much!
However, it is not clear that this code can only run once, and the second
time will be wrong unless Windows is restarted.
46 matches
Mail list logo