On 24.05.2018 03:52, shaolon...@hotmail.com wrote:
Thanks Werner for your quickly response,
I manual create a new user "raytest" and set password to "123456". I
don't
find the crypted password of the new user match the format that you
mention. Do you help find the crypt method? Thanks.
The
I figured it out. Given a set of tags in a dict as per usual, this
generates a variable all_tags which is a list of tags:
- set_fact:
tag_list: []
- set_fact:
tag_list: "{{ tag_list + [ {item.key: item.value} ] }}"
with_dict: "{{ all_tags }}"
The "tags" attribute in the ec2_asg
Thanks Mauricio for your quickly response,
I sure the user is created successful, because I can grep the user name
from /etc/passwd. Also, I can transfer the user successful from root by "su
*** -" command.
I checked the /etc/security/passwd, I can see the origin crypted password
in the
Try this
- set_fact:
hosted_zone_id: "{{ dns_results | json_query('HostedZones[?Name==' ~
lookup('vars', hosted_zone_name) ~ '].[Id]') |
regex_replace('/hostedzone/', '') }}"
You need to escape outside of the quoted arg of json_query and then run the
lookup. Note I haven't tested this
Hello guys, i'm trying to use a variable inside a variable.
https://pastebin.com/QmRX3jmz
lookup SHUOLD work but it doesn't... can anyone help?
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and stop
Hello guys, i'm trying to use a variable inside a variable.
https://pastebin.com/bu5BuM4y
lookup SHUOLD work but it doesn't... can anyone help?
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and stop
Spoke too soon... That doesn't work either...
On Wednesday, May 23, 2018 at 10:04:16 PM UTC+2, David Villasmil wrote:
>
> Hello guys,
>
>
> I've got this set_fact:
>
> hosted_zone_id: "{{ dns_results |
> json_query('HostedZones[?Name==`mydomain.com.`].[Id]') | regex_replace
> ('/hostedzone/',
Hi
You seem to be close, one thing to remember when dealing with Windows paths
in double quotes is that you needs to properly escape the backslashes. E.g.
your path could be one of the following (they all are the same after yaml
parsing)
# when not using quotes, no need to escape anything
Hi,
I thought I had this project nailed and then they tell me they need a
directory created called:
c:\working\hostname
where hostname is the name of the computer...
I thought I could use:
- name: make working dir
win_file:
path: "c:\working\{{ inventory_hostname }}"
Solved!
- set_fact:
hosted_zone_id: "{{ dns_results |
json_query('HostedZones[?Name==`(lookup('vars',
hosted_zone_name)).`].[Id]') | regex_replace ('/hostedzone/', '') }}"
For future reference.
Thanks
David
On Wednesday, May 23, 2018 at 10:04:16 PM UTC+2, David Villasmil wrote:
>
>
Yep as stated in the post linked above, you have a system version of
requests that is too old for pywinrm, please run "*pip install requests
--upgrade --force-reinstall*" to make sure you are reinstalling the latest
version from pip.
Thanks
Jordan
--
You received this message because you
Hello guys,
I've got this set_fact:
hosted_zone_id: "{{ dns_results |
json_query('HostedZones[?Name==`mydomain.com.`].[Id]') | regex_replace
('/hostedzone/', '') }}"
But i want to get the id from any of my domains, so i want to use a
variable:
hosted_zone_name: "mydomain.com"
and do
Nevermind, layer 8.. my mistake, i will open a new one
On Wednesday, May 23, 2018 at 8:39:24 PM UTC+2, David Villasmil wrote:
>
> Hello guys,
>
> I can use like:
>
> # >> Create the DNS load balancer to the instances
> - name: Creating DNS load balancer
> route53:
> command: create
Hello all,
I have a password I need to have on a delegate_to task, but I don't really
want it passed to the other hosts. Is there a way to do this?
I've tried setting the variable in a group_vars for the machine the task is
delegated to, but it doesn't load those variables, just the ones for
Hello guys,
I can use like:
# >> Create the DNS load balancer to the instances
- name: Creating DNS load balancer
route53:
command: create
zone: "{{ domain }}"
value: "{{ cluster }}-{{ item }}.{{ domain }}"
alias: true
alias_hosted_zone_id: "KLAIUDIAUHSINUD"
Thank you so much Kai , that worked .
--
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 ansible-project+unsubscr...@googlegroups.com.
To post to this group,
Sounds like you have the issue described
here: https://groups.google.com/forum/#!topic/ansible-project/ez68TZQciXE
On Monday, May 21, 2018 at 8:51:57 PM UTC+1, Harshit Srivastava wrote:
>
> I have configured Ansible on my ubuntu 14.04 and my target machine is a
> windows server 2016, but it
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 faults
>
> After
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
---
-
For some reason, the ec2_asg module does not handle tags the same way as
other modules.
Most modules let you do this:
tags:
fred: wilma
barney: betty
In the ec2_asg module, that results in an error message about not being
able to convert a dict to a list.
In the ec2_asg module, I have
On Wed, May 23, 2018 at 8:24 AM, Werner Flamme wrote:
> shaolon...@hotmail.com [23.05.2018 13:24]:
>> Hello everybody,
>>
>> I am using Ansible user module to create Aix machine account. I found
>> that the new created user can't login Aix machine.
>>
>> The below
shaolon...@hotmail.com [23.05.2018 13:24]:
> Hello everybody,
>
> I am using Ansible user module to create Aix machine account. I found
> that the new created user can't login Aix machine.
>
> The below is my some test step;
> 1. Generate a crypted password by ansible provided
On Wed, May 23, 2018 at 7:24 AM, wrote:
> Hello everybody,
>
> I am using Ansible user module to create Aix machine account. I found
> that the new created user can't login Aix machine.
>
> The below is my some test step;
> 1. Generate a crypted password by
Hello everybody,
I am using Ansible user module to create Aix machine account. I found
that the new created user can't login Aix machine.
The below is my some test step;
1. Generate a crypted password by ansible provided method. The
cleartext password is "123456"
Please check the indentation after the line "ip" - 28 and 29
-Bijay
On Wed, May 23, 2018 at 9:39 AM, Gowtham Nakulan
wrote:
> SUMMARY
>
> We are trying to create VM from template.
> I am facing issue at assigning ip line.
> ISSUE TYPE
>
>- Documentation Report
>
>
Thanks Mischa.
I ended up doing something similar with Vagrant.
- Created a symlink from the tests/roles dir to the root dir of the role
I am writing
- Installed the *vagrant-hostupdater* to add a custom host name to the
Vagrant box I use for testing
- Updated the inventory and
Have a look at some of our roles https://github.com/Oefenweb?tab=repositories.
They are all tested on Travis CI and contain a Vagrantfile for manual testing.
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group
27 matches
Mail list logo