Hi,
I have this playbook:
---
- hosts: localhost
connection: local
gather_facts: False
vars_files:
- nsxanswer.yml
- "firewall-rules.yml"
tasks:
- name: Add multiple firewall rules
nsx_edge_firewall:
nsxmanager_spec: "{{ nsxmanager_spec }}"
mode: "create"
Hi All,
I am creating Direct Connect Private Virtual Interface but as a hosted
interface. Currently, there are no ansible modules to
allocate_private_virtual_interface. This will create a private virtual
interface to be owned by specified AWS account.
This is the boto3 link for that
https://
On 2/13/19 3:26 AM, ryad9200...@gmail.com wrote:
Hi all,
I don't now why this task not works:
- set_fact:
my_variable: "{{ ansible_user[0 and 1] + 'gis' if
ansible_user!='wildfly' else 'wildfly' }}"
But *ansible_user[0] + ansible_user[1]* works but i want one syntaxe
shorter, exemple
I'm using Jenkins with the ansible plugin.
https://plugins.jenkins.io/ansible
I'm trying to figure out why an ansible project run in Jenkins on 20 hosts
is slower than running ansible on the command line.
I tried the increasing the "Number of parallel processes" but the Jenkins
node seems to r
I'm using Jenkins with the ansible plugin.
https://plugins.jenkins.io/ansible
I'm trying to figure out why an ansible project run in Jenkins on 20 hosts
is slower than running ansible on the command line.
I tried the increasing the "Number of parallel processes" but the Jenkins
node seems to r
pyOpenSSL (python-openssl) is not used for standard SSL connections in
Python. It is a requirement of CredSSP auth in Ansible but that's unrelated
to the problem here.
I think you still have a mismatch of compatible TLS protocols just in the
opposite direction we initially thought. I believe yo
Hello,
I've seen this use case before. It's easier to build the reporting
directly into the playbook. You can, for exmaple, create a template that
will print what you want for each managed host, and assemble the pieces
later:
On 2/13/19 11:55 AM, DM wrote:
The example below is a yaml file
Thanks to all who responded.
The example below is a yaml file to gather data from a Juniper Networks
Switch device.
How would you do it this?
- name: Get Facts
hosts: 192.168.1.1
roles:
- Juniper.junos
connection: local
gather_facts: no
vars_prompt:
- name: ADMUSER
promp
NM all ... turns out i need the illustrious backtick (`) and not a single
quote to denote a integer ...
On Wednesday, February 13, 2019 at 9:34:11 AM UTC-8, Justin DynamicD wrote:
>
> Ill let a fast sample bit of code do the talking:
>
>
> ---
> - name: query test
> hosts: "localhost"
> gat
Change your `json_query` var to use backticks (``) instead of quotes ('')
around the 0
- vars:
json_query: "[?lun==`0`]"
On Wed, Feb 13, 2019 at 11:34 AM Justin DynamicD
wrote:
> Ill let a fast sample bit of code do the talking:
>
>
> ---
> - name: query test
> hosts: "localhost"
There's nothing in the ansible CLI that supports explicitly dumping the
output to a file. You could just use a simple shell redirect.
$ ansible -i inventories/aws -m setup all > host-facts.yaml
It's worth noting that the CLI's output doesn't make a distinction between
failed plays or tasks in ter
Ill let a fast sample bit of code do the talking:
---
- name: query test
hosts: "localhost"
gather_facts: no
tasks:
- set_fact:
drives:
- lun: 0
size: "25gb"
- lun: 1
size: "100gb"
- vars:
json_query: "[?lun=='0']"
s
Hi,
If you want include task in your playbook, you must only do it :
*- include_task: /my_path/.../.../my_file_externe.yml*
This answer answers your question ?
Thanks
Le mercredi 13 février 2019 17:46:48 UTC+1, DM a écrit :
>
> Thanks I do have the "---" at the top
> When I run t he ansible-pl
Thanks I do have the "---" at the top
When I run t he ansible-playbook how do get all that info to write to a
file?
It only shows up on the cli which I know I can copy and paste to a file,
but would like to output to a file
Thanks
On Wednesday, February 13, 2019 at 8:45:06 AM UTC-5, DM wrote
HI team,
I have a below playbook, where it works fine if I enter dates manually in
vars. but it fails when passing through register. tried max possibilities.
need your help
- hosts: one
become: true
tasks:
- shell: " dsmc query filespace / | tail -n 1 | awk '{print$2}'"
register:
Hi,
Does anybody know how to get tags applied to volumes associated with
instances created as part of an ASG?
Instances tags are propagated fine, just no way to tag the volumes that I
can see
Many thanks
James
--
You received this message because you are subscribed to the Google Groups
"An
Hi,
I think that you must use gather_fact in your playbook.
If this answer not answers your question, you can use option in ansible.
for example : ansible --help for get ip of someone computer.
Or : ansible my_name_computer -m . --help
Regards
Le mardi 12 février 2019 12:28:03 UTC+1, Ank
Hi,
You must create file with extension .yml and beginning this file with "---"
at the top.
It's simply.
And launch file with line command "ansible-playbook my_file.yml"
This answer answers your question ?
Thanks
Le mercredi 13 février 2019 14:45:06 UTC+1, DM a écrit :
>
> How do you write to
How to pass variable of in memory inventory to following next plays using
hostvars.
"nfs_server" variable to be passed from play 2 to play 3 and these plays
are using in-memory inventories.
Play:1
- add_host:
name: "{{ group1_host }}"
groups: group1
Play 2:
- name:
upp please !!
Someone have an idea please guy !!!
If my var = "jesuisla"
How get only "jesuis"
Thanks
Le mercredi 13 février 2019 10:26:22 UTC+1, ryad9...@gmail.com a écrit :
>
> Hi all,
>
> I don't now why this task not works:
>
> - set_fact:
> my_variable: "{{ ansible_user[0 and 1] + '
How do you write to a file the output of a yaml?
If possible, how do you only write to a file specific info if?
Thanks
--
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
I think I found the solution, but maybe you can confirm: the python-openssl
package on Debian is only for python2, and I am currently missing the
python3-openssl package.
I will install it and and let you know as soon as possible.
--
You received this message because you are subscribed to the
I suppose I will need to check on the Windows side the supported
protocols/cyphers. Do you think running the following command would be
sufficient (I can not do it today but maybe tomorrow) ?
$ nmap --script ssl-enum-ciphers -p 5986 my-host
--
You received this message because you are subscrib
Other information which might be useful (or not):
Packages versions: openssl 1.1.1a-1, python-openssl 19.0.0-1
$ openssl ciphers
TLS_AES_256_GCM_SHA384:TLS_CHACHA20_POLY1305_SHA256:TLS_AES_128_GCM_SHA256:
ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:DHE-RSA-AES256-GCM
-SHA384:ECDHE-
Thanks for this very informative answer! But it seems the SSL library is
not very old:
$ python3 -c "import ssl; print(ssl.OPENSSL_VERSION)"
OpenSSL 1.1.1a 20 Nov 2018
Maybe it is the contrary (SSL is too new on my side and does not accept old
protocol/cypher)?
--
You received this message b
Hi all,
I don't now why this task not works:
- set_fact:
my_variable: "{{ ansible_user[0 and 1] + 'gis' if
ansible_user!='wildfly' else 'wildfly' }}"
But *ansible_user[0] + ansible_user[1]* works but i want one syntaxe
shorter, exemple *ansible_user[0 and 1] *but this syntax not works !!
That sounds like your Windows host has been updated recently and it's list
of supported cipher suites or TLS protocols has changed. Unfortunately
there's now no common cipher suites and TLS protocol versions between your
linux and Windows host hence the message unsupported protocol.
Ansible or
27 matches
Mail list logo