Re: [ansible-project] I want to register my module

2019-11-21 Thread Abhijeet Kasurde
Hi Kim, Since this is a network-related module and from Ansible 2.9 onward all modules are moved to their own collection. You may want to create your own collection. So, please create a new collection with all the required modules and push it to the Ansible galaxy. You can start creating your

Re: [ansible-project] I want to register my module

2019-11-21 Thread Abhijeet Kasurde
Hi Kim, You can go through this document - https://docs.ansible.com/ansible/latest/dev_guide/index.html, and once the module is merged then it will be listed in this list. Thanks, On Fri, Nov 22, 2019 at 9:36 AM Kim Seonil wrote: > Hello > > I want to register my module > > I want to register

[ansible-project] I want to register my module

2019-11-21 Thread Kim Seonil
Hello I want to register my module I want to register my new module and register the document at https://docs.ansible.com/ansible/devel/modules/list_of_network_modules.html Let me know what to do -- You received this message because you are subscribed to the Google Groups "Ansible Project"

Re: [ansible-project] ansilbe delegate_to can not run

2019-11-21 Thread Vladimir Botka
On Thu, 21 Nov 2019 19:14:24 -0800 (PST) "zhengqis...@sohu.com" wrote: > fatal: [10.122.17.201 -> 10.122.12.177]: FAILED! => {"changed": false, > "module_stderr": "BECOME-SUCCESS-uwkbocxpjaabqexywadrpcglwjsndvfs\r\n", "modul > e_stdout": "/bin/sh: /usr/bin/python3.6: No such file or

[ansible-project] ansilbe delegate_to can not run

2019-11-21 Thread zhengqis...@sohu.com
The task definition: - name: add flannel network config in etcd shell: config_flannel_network.sh when: flannel_config_shell.changed delegate_to: "10.122.12.177" software environment - ansible client host: 127.0.0.1 system os: centos 7 ansible version: 2.9.1 python: python

[ansible-project] Can't provide parameters to Ansible ec2 inventory plugin

2019-11-21 Thread Viktor Maksymenko
I'm using ec2 inventory plugin and interested in the ability to provide parameters to it like this: plugin: aws_ec2 regions: - "{{ region}}" filters: tag:Usage: "{{ usage }}" But extra-args, that I provide on playbook execution, does not come to inventory. For this

[ansible-project] Junos yaml compliance check : how to construct conditional statements in a yaml file

2019-11-21 Thread eddie eakemu
Hi I am looking to achieve the following but might be missing something - name: SECURITY CONTROL 101: Approved AAA servers junos_config: lines: - show configuration system tacplus-server -- *command to check AAA

[ansible-project] Re: Create Multiple VMs on Azure

2019-11-21 Thread Phil Griffiths
This is for AWS but you can get the concept and apply using azure modules instead: https://github.com/ffirg/ansible/blob/master/vm_orchestration/offpremise/roles/offprem/tasks/amazon.yml Basically capture register output and then use add_host to create an in memory inventory to apply the rest

Re: [ansible-project] AWX Tower install failure (2 separate servers)

2019-11-21 Thread Bariou Alarou
Hello John, Update your /etc/yum.conf with bellow. The error is that API fetching is time out. This is not the best solution but it works form me when I was facing same problem. [image: image.png] On Thu, Nov 21, 2019 at 9:48 AM John James wrote: > Good Morning, > >I am pretty new to

Re: [ansible-project] AWX Tower install failure (2 separate servers)

2019-11-21 Thread Stefan Hornburg (Racke)
On 11/21/19 3:48 PM, John James wrote: > Good Morning, > >    I am pretty new to Ansible, I had built an AWX Tower some months ago, but > had to let it sit.  Last week I started > working on it again when that instance got stuck in an upgrade loop.  I spent > a few days trying to reinstall and

[ansible-project] AWX Tower install failure (2 separate servers)

2019-11-21 Thread John James
Good Morning, I am pretty new to Ansible, I had built an AWX Tower some months ago, but had to let it sit. Last week I started working on it again when that instance got stuck in an upgrade loop. I spent a few days trying to reinstall and in the end, I couldn't get passed a specific

Re: [ansible-project] Ansible Version Migration

2019-11-21 Thread Jean-Yves LENHOF
Le 2019-11-21 15:02, Vladimir Botka a écrit : On Thu, 21 Nov 2019 05:01:31 -0800 (PST) deva raju wrote: Now, we would like to move to either ansible-2.4 or ansible-2.5 So, what is the way to migrate my code to latest version ? Or do i need write the complete code from scratch ? The answers

Re: [ansible-project] Need to use the cloud-init option to have it run the PowerShell script that enables WinRM. Use of cloud-init

2019-11-21 Thread Rahul Rawat
Hi, I've an idea how to do using Terraform and AWS {using userdata directory} but in this case i'm using Ansible and Oracle cloud. Create an ansible role and using oci-ansible-module provisioning oracle cloud resources to create VM. regards, Rahul On Thursday, November 21, 2019 at 5:13:58 PM

Re: [ansible-project] Ansible Version Migration

2019-11-21 Thread Vladimir Botka
On Thu, 21 Nov 2019 05:01:31 -0800 (PST) deva raju wrote: > Now, we would like to move to either ansible-2.4 or ansible-2.5 So, what is > the way to migrate my code to latest version ? Or do i need write the > complete code from scratch ? The answers are in the Porting guides.

[ansible-project] Ansible Version Migration

2019-11-21 Thread deva raju
Hi Team, We wrote YAML scripts under the version 1.5.3 and 2.1.1 (virtual environment). Now, we would like to move to either ansible-2.4 or ansible-2.5 So, what is the way to migrate my code to latest version ? Or do i need write the complete code from scratch ? Can anyone please suggest me

Re: [ansible-project] Need to use the cloud-init option to have it run the PowerShell script that enables WinRM. Use of cloud-init

2019-11-21 Thread Karl Auer
Hullo Rahul. What is your actual question? There is extensive documentation in AWS on how to set up user data to do stuff on launch. If you just need to do a few simple things, you can do it directly in the user data script. If your needs are more complicated, write a script that looks in a

[ansible-project] Create Multiple VMs on Azure

2019-11-21 Thread Meera Nagul
Hi Team, I am working on playbook to deploy multiple virtual machines on Azure cloud, and i got succeed in that task, and am trying to run multiple tasks on newly created virtual machines using the same playbook which i used for creation. can somebody help me with this task please. Thanks &

Re: [ansible-project] Ansible - How attribute 2 value in one variable

2019-11-21 Thread Kai Stian Olstad
On 21.11.2019 11:29, Karther wrote: I want when i deploy this template,on my host 1 {{ my_ip_addr_host }} get value 10.10.10.1 and when i deploy this template on my host 2 {{ my_ip_addr_host }} get value 10.10.10.2 This is covered in Ansible documentation and called host_vars

[ansible-project] Need to use the cloud-init option to have it run the PowerShell script that enables WinRM. Use of cloud-init

2019-11-21 Thread Rahul Rawat
Hi, I have used oci-ansible-modules to create VM on oracle cloud. Now, I need to use cloud-init to enable winrm on boot. regards, Rahul Rawat -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop