cho 'echo \"rs.initiate({{ my_init }})\"|mongo'"
> register: result
> - debug:
> var: result.stdout
>
> should give valid escaped JSON
>
> result.stdout: 'echo "rs.initiate({\"_id\": \"mongors1conf\",
>
t; 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 view this discussion on the web visit
> https://g
0%2B7%2FLmG8dAukPvIk5NH2yWWcOiQFRjOEWDmH3pY%3D&reserved=0
> .
>
> --
> 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-
Thanks Kai I did not realize that the inventory was actually used to set
random Variables for hosts, if these variables did not have anything to do
with the ssh configuration. Thanks
On Wednesday, August 14, 2019 at 5:12:10 PM UTC-4, Kai Stian Olstad wrote:
>
> On 14.08.2019 22:25, Joe L
I have a role that configures a JSON file on a server. The JSON file needs
know the following variables which are DIFFERENT for each server. This file
is the later used to for a script that installs software
[root@ip-172-29-100-198 roles]# cat elasticconfig/*defaults/*main.yml
---
# default
boots to
happen organically over time.
On Monday, July 29, 2019 at 4:29:22 PM UTC-4, Joe Langdon wrote:
>
> Hello,
>
> I am using an Ansible Role to copy a template file. It is not allowing me
> saying.. "The destination directory (/sys/module/nvme_core/parameters)
Figured it out. I needed to use the template option "unsafe_writes: yes"
On Monday, July 29, 2019 at 4:29:22 PM UTC-4, Joe Langdon wrote:
>
> Hello,
>
> I am using an Ansible Role to copy a template file. It is not allowing me
> saying.. "The destination di
Hello,
I am using an Ansible Role to copy a template file. It is not allowing me
saying.. "The destination directory (/sys/module/nvme_core/parameters)
is not writable by the current user"
*Here is the execution of the play*
[root@ip-172-29-100-198 roles]# *ansible-playbook -u root --as
;utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
--
Joe Langdon
Sometimes when you think life is kicking you in the ass, it's actually just
moving you quickly to a better place.
--
You received this message because you are subscribed to the Goo
I would take a look at Troposphere. It is a Python project that creates
JSON / YAML for Cloudformation scripts. Very similar to what you want to
do. I have not heard of the same project for Ansible
https://github.com/cloudtools/troposphere
On Friday, February 1, 2019 at 5:42:53 AM UTC-5, Thom
My current use case requires me to do that following
Create 50 Linux CentOS 7 boxes.
Eth0 must be 172.30.0 {80-120} on Subnet A
Eth1 must be 172.30.1.{80-120) on Subnet B
Note sure how to do this after reading the documentation,.
https://docs.ansible.com/ansible/latest/modules/ec2_module.ht
11 matches
Mail list logo