Hi,
I have a problem with all playbooks executed from Plugin Ansible in Jenkins.
Jenkins Group, say that this is an ansible runtime issue when running that
playbook rather than a Jenkins issue.
All jobs, finish with:
PLAY RECAP
requires GOVC https://github.com/vmware/govmomi/releases
El miércoles, 23 de mayo de 2018, 15:52:40 (UTC+2), Josu Vilda escribió:
>
> After several weeks searching for information and getting it, I give you
> the playbook.
> Feel free to answer to improve it or show me the faul
After several weeks searching for information and getting it, I give you
the playbook.
Feel free to answer to improve it or show me the faults
After several weeks searching for information and getting it, I give you
the playbook.
Feel free to answer to improve it or show me the faults
---
-
sible/issues for "vmware_vm_shell", https://github.com/ansible/ansible/
> issues/38320 looks like it might be related?
>
> On Wednesday, May 16, 2018 at 8:51:59 AM UTC-4, Josu Vilda wrote:
>>
>> I've tried that, but it gives me back the same information.
>> <
;
El martes, 8 de mayo de 2018, 11:42:18 (UTC+2), Josu Vilda escribió:
>
> A question,
>
> We have templates that have been saved with sysprep.
> As I can with Ansible, after deploying the templates, wait for OS
> customization of sysprep to be completed.
>
> I have seen the
gt;
> Remove that, and you should get some better results.
>
> On Monday, May 14, 2018 at 7:38:22 AM UTC-4, Josu Vilda wrote:
>>
>> Hi guys,
>> I am launching this playbook but it does not give an error and it does
>> not do what it is supposed to do.
>> How can I d
28",
"changed": true,
"failed": false,
"finished": 1,
"msg": 1368,
"uuid": "423c4b0f-3dd5-b3b3-6adc-23314cc4054c"
}
}
El lunes, 14 de mayo de 2018, 14:10:02 (UTC+2), Josu Vilda escribió:
>
The problem is that I do not know where to see the error that the command
gives.
El lunes, 14 de mayo de 2018, 13:49:17 (UTC+2), Josu Vilda escribió:
>
> This module, should launch the following command which join the vmware in
> domain.
>
> Launch in host vmware 'c:\window
Before printing think about *environment* and *costs*
2018-05-14 13:40 GMT+02:00 Karl Auer <ka...@2pisoftware.com>:
> It would help if you would describe what it is supposed to do...
>
> On Mon, May 14, 2018 at 9:38 PM, Josu Vilda <jrvi...@gmail.com> wrote:
>
>&
Hi guys,
I am launching this playbook but it does not give an error and it does not
do what it is supposed to do.
How can I debug the error?
- name: Customize Domain
vmware_vm_shell:
hostname: '{{ VCENTER }}'
username: '{{ DOMAIN_VCENTER }}\user'
password:
A question,
We have templates that have been saved with sysprep.
As I can with Ansible, after deploying the templates, wait for OS
customization of sysprep to be completed.
I have seen the following article for powercli, but for Ansible ??
Sincerely thanks.
El martes, 21 de noviembre de 2017, 8:32:58 (UTC+1), Pshem Kowalczyk
escribió:
>
> Hi,
>
> Try this:
>
> {{ vm_list.virtual_machines[vmname].uuid }}
>
> kind regards
> Pshem
>
>
> On Tue, 21 Nov 2017 at 04:11 Josu Vilda <jrv...@gmail
Hi,
I have a problem with variables.
this is correct:
.
- debug:
msg: "{{ vm_list.virtual_machines.SRV1.uuid }}"
but, i need:
.
register: vmname
- debug:
msg: "{{ vm_list.virtual_machines.{{ vmname }}.uuid }}"
how do i have to do it?
thx
--
, six
El viernes, 17 de noviembre de 2017, 9:38:56 (UTC+1), Josu Vilda escribió:
>
>
> Hello,
> I'm having problems with module vmware_guest_snapshot. Any solution?
>
>
> [root@ges1ansibledes ansible]# ansible --version
> ansible 2.4.1.0
> config fil
Hello,
I'm having problems with module vmware_guest_snapshot. Any solution?
[root@ges1ansibledes ansible]# ansible --version
ansible 2.4.1.0
config file = /etc/ansible/ansible.cfg
configured module search path = [u'/root/.ansible/plugins/modules', u
'/usr/share/ansible/plugins/modules']
Hi,
I would like to get a 3 digit random number, for example 001.
I have come to get:
tasks:
- name: We assign a fixed random variable throughout the execution.
set_fact:
Random_Fix: "{{ 100 | random }}"
run_once: yes
¿Which language uses "{{100 | random}}" or
Hi all,
I would like to automate a task to check the list of packages that need to
be updated in my server farm with ansible.
Is there any way to do it?
I have seen that the yum module has the option to install the lastest, but
not to check the packages
and I have tried it from shell,
shell
are telling
> ansible to set it inside of a playbook or role. For instance, through the
> environment: paramter to a task.
>
> -Toshio
>
> On Fri, Jul 21, 2017 at 12:35 AM, Josu Vilda <jrv...@gmail.com
> > wrote:
>
>> Ansible appears to modify PYTHONPATH int
Ansible appears to modify PYTHONPATH internally to vendored versions of
some modules. This causes Python scripts executed within playbooks to
potentially fail if there are module conflicts.
[]# ansible-playbook -e "*ansible_python_interpreter=/usr/bin/python*" -vvv
test-Sonan3.yml
Using
I think It should not change the execution path, right?
El jueves, 20 de julio de 2017, 16:04:16 (UTC+2), Josu Vilda escribió:
>
> []# ansible-playbook -e "ansible_python_interpreter=/usr/bin/python" -vvv
> test-Sonan3.yml
> Using /etc/ansible/ansible.cfg as config file
>
[]# ansible-playbook -e "ansible_python_interpreter=/usr/bin/python" -vvv
test-Sonan3.yml
Using /etc/ansible/ansible.cfg as config file
PLAYBOOK: test-Sonan3.yml
**
1 plays in test-Sonan3.yml
PLAY [fac1apprep]
Ok,
This would be the right way, right?
---
- hosts: hostwin
vars:
# definimos variables de ejemplo
- site: localhost
tasks:
- name: Definimos variables para Red Hat.
set_fact:
package_name: "httpd"
when:
ansible_os_family == "Red Hat"
ansible 2.2.1.0
Linux 2.6.32-504.el6.x86_64 #1 SMP Tue Sep 16 01:56:35 EDT 2014 x86_64
x86_64 x86_64 GNU/Linux
El viernes, 30 de junio de 2017, 14:24:13 (UTC+2), Josu Vilda escribió:
When assigning variables under certain conditions, if there is no match,
> the last condition is erroneou
When assigning variables under certain conditions, if there is no match,
the last condition is erroneously assigned.
Ej:
---
- hosts: hostwin
vars:
# Definimos el paquete a instalar según el sistema operativo.
- package_name: httpd
when: ansible_os_family == "Red Hat"
-
24 matches
Mail list logo