On 24. mars 2017 06:27, Yang Mark.S wrote:
Dear sir,
I try to develop a module for switch device. and test it finished. how can
I share my module to the github ?
Have you read this ?
https://docs.ansible.com/ansible/community.html#for-current-and-prospective-developers
That page have a section
Hi Scott,
Did you find a workaround for this issue? I am stuck at the same point
now. Any help is appreciated.
Regards,
Lokesh
On Friday, 19 February 2016 06:48:27 UTC-6, Scott wrote:
>
>
> Thanks for the assistance. I'm wokring my way through that link :-)
>
--
You received this mes
Dear sir,
I try to develop a module for switch device. and test it finished. how can
I share my module to the github ?
--
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
Hey Scott,
If it's not already in the pool_member module i would first suggest you
open an issue about this at our f5-ansible repository and the change will
percolate upstream to ansible core
https://github.com/F5Networks/f5-ansible
Beyond that, if your version of BIG-IP is >= 12.x, you can use
Hi,
Can you put ansible_connection=local in ansible.cfg and try ?
Thanks,
Madhu
Sent from my iPhone
> On Mar 22, 2017, at 10:48 PM, Chang Zhi wrote:
>
> Hi, I'm try to get switch's version info by using ansible. So I create a yaml
> file like this:
>
> ---
> - hosts: dell
> connection: s
Ansible 2.1.1.0 Core. With our network, we have a system where we switch
back and forth between two groups of servers. In the F5, we use iRules and
priority groups to direct the traffic to the live group of servers. Right
now, we have to go into the console manually and update the priority gr
Sure- you can override an inventory-set ansible_password with the vars
keyword on a play or task:
# for the whole play
- hosts: thing_whose_password_has_changed
vars:
ansible_password: "{{ new_target_password }}"
tasks:
- ping:
or
# on a specific task
- hosts: thing_whose_password_ha
Sorry, that should've been:
- win_copy:
... (whatever args to win_copy)
become: yes
become_method: runas
become_user: "{{ ansible_user }}"
vars:
ansible_become_password: "{{ ansible_password }}"
On Thursday, March 23, 2017 at 5:54:55 PM UTC-7, Matt Davis wrote:
>
> The new Windows
The new Windows become stuff in 2.3 creates an "interactive" type logon
session, so credential caches and transparent multi-hop works- it should
take care of the auth issue (so it behaves like it would if you were
sitting in front of the machine). There's currently a bug that only allows
it to
Hey,
I have a dynamic inventory script. The script sets these variables...
"Server01"{
"ansible_host": "xxx.xxx.xxx.xxx",
"ansible_ssh_host": "xxx.xxx.xxx.xxx",
"ansible_ssh_pass": "",
}
That way when you spin up a new cloud host you can immediately c
Hmm. Is adding the client machine to the domain an option then? That way you
could use Kerberos authentication delegation.
Or. Here's a different idea...
Use smbclient to collect whatever files you want from the share onto your
ansible controller and then you can just win_copy them onto the w
Nice one.
Since the PR mentioned above has been merged, I suggest testing with latest
development version of ansible.
Jon
--
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, sen
So I think you can supply this module with a comma separated list of features
to add. If I recall, you can generate a list of all the modules and submodules
by running the following PowerShell
Get-Feature | Out-GridView
I think you should be able to pick out the exact features you need from th
That's the default behavior- just don't specify include_sub_features or
include_management_tools, and specify the exact features you want.
On Thursday, March 23, 2017 at 11:49:35 AM UTC-7, Suporter wrote:
>
> is it possible to choose only selective sub features ? for example: IIS
> has so many s
I need to run this command. How do i escape the commands.
find / -xdev \( -perm -4000 -o -perm -2000 \) -type f | awk '{print "-a
always,exit -F path=" $1 " -F perm=x -F auid>=500 -F auid!=4294967295 -k
privileged"}'
On Sunday, April 24, 2016 at 7:06:53 PM UTC+5:30, Johannes Kastl wrote:
>
> O
The the win_share module currently catches all exceptions and doesn't
output the exception message in the final JSON output. I've raised a PR to
add this feature as I've come across it just
recently https://github.com/ansible/ansible/pull/22763
On Thursday, March 23, 2017 at 3:40:49 AM UTC+10,
On 23. mars 2017 22:31, jzm2001 wrote:
yes, i was aware of the permission denied and I checked the permissions on
the entire FS directory structure being written to and all the perms are
the same across all 15 hosts. I can create directories/files in /tmp so
can the user websphe I sudo into.
I
I changed my hosts file to only have the working host and this is the
output with - option:
$ ansible-playbook -i inventory/staging - site.yml
/home/jm6239/python26/lib/python2.6/site-packages/cryptography/__init__.py:26:
DeprecationWarning: Python 2.6 is no longer supported by the Pytho
yes, i was aware of the permission denied and I checked the permissions on
the entire FS directory structure being written to and all the perms are
the same across all 15 hosts. I can create directories/files in /tmp so
can the user websphe I sudo into.
I set my playbook to do serial: 1 and ex
There is a permission denied:
"msg": "There was an issue creating bin-tmp as requested: [Errno 13] Permission
denied: 'bin-tmp'
Maybe not all server are set up the same way (rights, owner, groups). Can you
create the dir manually being the become_user on the host? Try to create a dir
/tmp/bin-
is it possible to choose only selective sub features ? for example: IIS has
so many sub features, if we install them all , there would be unnecessary
footprint, so is it possible to pick and choose and install the required
sub features?
--
You received this message because you are subscribed t
Hi Jon,
Thanks for the input. You're correct about the number of authentication
hops- the client machine is not on a domain, but uses domain credentials to
map the network share. So in the group_vars file there are only the
non-domain credentials. I was able to use win_copy to copy a local file
On 23. mars 2017 18:54, tentacle_bonzoid wrote:
What's the correct approach here? Is attempting to use a top-level
"patch_everything.yml" not the best practice? Or is there some "fork and
forget and run everywhere individually" option? Note, I do not want to fire
and forget individual *tasks*, I
Hi,
i'm probably hitting a basic newbie misunderstanding here. What would be
the best practice approach to write a playbook that does something like:
Call a playbook like patch_hosts.yml , targetting all hosts.
patch_hosts will run a yum update. But first, it'll detect if the host is
in a cluste
Hi,
I'm sorry if this issue has been posted/discussed before, but I tried
searching and couldn't find anything related. I get the following output
when I try to run a simple playbook.
[root@atk ansible]# ansible-playbook pre_identix.yml --ask-become-pass
SUDO password:
PLAY [all]
***
On 23. mars 2017 16:42, Eric Belhomme wrote:
Hello,
Thanks to you suggestion, I re-factored my code and putting the variables
into vars/meddle.yml :
- ssl_certs:
- mailgate:
key: '/etc/ssl/private/letsencrypt_meddle.example.com_mailgate.key'
csr: '/tmp/letsencrypt_meddle.example.c
Looking at vmware_gather_facts, about to be introduced in 2.3 (there is an
rc1 tag if you are adventurous), Im doing something like this:
---
- name: Discover vSphere guest
hosts: localhost
tasks:
- name: Gather instance facts
vmware_guest_facts:
hostname: "{{ ansible_env.VMWARE_S
Hi, I'm try to get switch's version info by using ansible. So I create a
yaml file like this:
---
- hosts: dell
connection: ssh
gather_facts: no
vars:
cli:
username: xxx
password: xxx
tasks:
- name: "Get Dell EMC OS6 Show version"
dellos6_command:
commands: ['show ve
Last I used ansible was three days ago; this morning I attempted to run and
receive the following error:
ansible --version
Traceback (most recent call last):
File "/usr/bin/ansible", line 43, in
import ansible.constants as C
File "/usr/lib/python2.7/dist-packages/ansible/constants.py",
Is it possible to use star to assume the remaining path.
set_fact:
tomcat_native: "/tmp/tomcat-native-*/"
Regards,
Manoj K
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and stop receiving ema
I'm new to ansible...so bear with me. I created a simple playbook that
takes a 0 byte file and copies it to remote hosts under a different user,
creating the directory to put it in prior to the copy.
We have a mix of python 2.6 and 2.7 on our Linux hosts (running redhat 6).
The execution is s
On 23. mars 2017 13:44, Bhavin Parmar wrote:
Hey Kai,
Thanks for your guidance. I am just looking for vol-0e0516ea962X as
output. Same way I have to grab various parts from output, to convert them
in key : value pair, to store in YAML file.
Please, can you suggest how to only get the partic
Hello,
Thanks to you suggestion, I re-factored my code and putting the variables
into vars/meddle.yml :
- ssl_certs:
- mailgate:
key: '/etc/ssl/private/letsencrypt_meddle.example.com_mailgate.key'
csr: '/tmp/letsencrypt_meddle.example.com_mailgate.csr'
crt: '/etc/ssl/certs/le
https://github.com/ansible/ansible/pull/16515 think this is similar?
On Friday, December 30, 2016 at 12:21:44 PM UTC+1, Kevin Csuka wrote:
>
> Ansible version: 2.1.2.0
>
> My task:
>
> - name: "Managing groups with gid set" become: true group:name: "{{
> item.value.name }}"state: "{{ it
Also note that the 'displayed' timeout (12s) is the default value, not
inferred from ssh_args.
--
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 e
with_ <= is basically a for loop, the task runs 'for item in
with_: parameters', with_ always returns a list, which the
task iterates over and the 'loop variable' is 'item'.
you can use loop_control to change the loop variable.
--
Brian Coca
--
You received this message because you are
Is it possible to create a for loop in a task? I have a switch Access-Control
list I need to build. In my host_vars file I have a YAML object that contains
all the source and destination addresses in an array. This way I can also
control the sequence number without having to explicitly docume
Hey Kai,
Thanks for your guidance. I am just looking for vol-0e0516ea962X as
output. Same way I have to grab various parts from output, to convert them
in key : value pair, to store in YAML file.
Please, can you suggest how to only get the particular part? Like we can
get with following ma
On 23.03.2017 05:17, Bhavin Parmar wrote:
*Same way another looping issue is as follow (actual code):*
- name: "Task 2: Fetch EC2 details"
ec2_remote_facts:
aws_access_key: '{{ AwsAccesskey }}'
aws_secret_key: '{{ AwsSecretkey }}'
region: '{{ region }}'
filters:
On 23.03.2017 05:09, Bhavin Parmar wrote:
*Same way another looping issue is as follow (actual code):*
It's no issue here, it's working as designed.
To understand, we need to now what you would expect.
- name: "Task 2: Fetch EC2 details"
ec2_remote_facts:
aws_access_key: '{{ AwsA
On 23.03.2017 03:55, Bhavin Parmar wrote:
*When trying to access with_items, with following code:*
- name: "Task 3: Add string instance_id to file for each instance"
shell: 'printf "{{ item.volume_id }}"'
#shell: 'printf "{{ item.volume_id }}" >
/home/ansible/playbooks/common/variab
Trond certainly is - see this entry on his
blog:
http://hindenes.com/trondsworking/2016/12/21/ansible-windows-what-weve-learned-from-6-months-in-production/
On Thursday, March 23, 2017 at 8:39:23 AM UTC, Sam wrote:
>
>
> Matt's insight regarding the roadmap is very useful, however is anyone
>
Matt's insight regarding the roadmap is very useful, however is anyone
using the win_dsc5 module in the wild? I am due to start some testing today
so if there are any glaring gotchas that I can avoid please do share - it
will be much appreciated.
--
You received this message because you are s
Matt's insight regarding the roadmap is very useful, however is anyone
using the win_dsc5 module in the wild? I am due to start some testing today
so if there are any glaring gotchas that I can avoid please do share - it
will be much appreciated.
On Wednesday, 22 March 2017 13:29:34 UTC, Sam wr
Hi Matt,
Thanks for the reply. I hope you didn't take my comments re: your
appearance on the podcast as a criticism! I understand that Windows doesn't
really fit cleanly with your current implementation and that there are
significant decisions to be made.
I have both opinions and a shovel :)
45 matches
Mail list logo