Hi All,
I am trying to use Ansible vault encrypted password in my playbook and
don't see clear documentation on how to use it.
Here is what I did so far -
In ansible.cfg I have set the 'vault_password_file'.
I have all my playbooks in a directory called devplaybooks. I have created
a
*Hi Phil,*
*Thank you for your help.*
*Playbook:*
- name:
--- 1. Applying Layer 2 Configuration ---
hosts: Snif_TEST
connection: network_cli
tasks:
- include_vars:
dir: /etc/ansible/roles/new_vlan/vars/
- include_role:
name:
Hi All,
I develop and maintain the Ansible role: Juniper.junos(
https://github.com/Juniper/ansible-junos-stdlib). For the context of the
issue, please refer to
https://github.com/Juniper/ansible-junos-stdlib/issues/468.
Consider the following scenario wherein the user has provided both
Dear All:
andyidea can help me thanks.
PLAY [all]
TASK [Gathering Facts]
ok:
On 18.01.2020 07:30, vk wrote:
It err with* "msg": "command exceeded timeout"*. Increasing timeout to
higher value than default 30 sec doesn't help.
Is there any change need to be done to get it working ?
I am pretty sure you get more output than this when it times out and
without it any
On 15.01.2020 20:55, Matthew DeSantos wrote:
My vars_file
--- - vlan_name: Test1 vlan_id: 10 vlan_subnet: 10.3.10.2/24 -
vlan_name:
Test2 vlan_id: 20 vlan_subnet: 10.3.20.2/24
This (formatting mess, you should post plain text) is not a correct
variable file.
What you have here is a
On 19.01.2020 14:06, Blacksensei wrote:
Hi Team,
I have been heavily using Ansible Core for the past 4 years and totally
loved it. We started a project in our office allowing everybody in dev
team
to start doing deployment themselves. We now need to migrate a number
of
things to be able to
Thanks for quick response.
I understand now, that lookup is templating engine which works only with
utf8 text.
I don't need to do `{{ whatever.content|b64decode }}` - decode.
I need only base64 encode binary file so I can pass the base64 string to
k8s module.
slurp would be fine except that
Oh, didn't know it can be used this way.
Thanks for tip. That's better then shell or command.
Jan
On Monday, January 20, 2020 at 5:52:33 PM UTC+1, Matt Martz wrote:
>
> You can use something like:
>
> - slurp:
> path: /some/local/path
> register: some_var
> delegate_to: localhost
>
>
On 17.01.2020 11:24, vinoth kumar wrote:
Hi Folks,
I got an issue with tower_job_wait module in anisble tower.
This list is for Ansble not Tower, contact RedHat support.
--
Kai Stian Olstad
--
You received this message because you are subscribed to the Google Groups "Ansible
Project" group.
Hi!,
I need help. I want to deploy some file with some modifications. The
deployment policy is that depending on the network the server belongs to,
it will deploy some files or others.
I can't compare the "ansible_facts" with "vars"
# CONFIGURATION
Example playbook:
```
---
- name:
You can use something like:
- slurp:
path: /some/local/path
register: some_var
delegate_to: localhost
Then it would use localhost as the target.
On Mon, Jan 20, 2020 at 10:47 AM Jan Burian wrote:
> Thanks for quick response.
> I understand now, that lookup is templating engine which
On 16.01.2020 03:19, Eric Chang wrote:
I want to install vim plugins with ansible shell module
the task is quite simple as follow
- name: install vim vundle plugin
shell: "vim +PluginInstall +qall"
but the playbook will hang at this task like forever.
even with -vv or -vvv , there`s no
In short, you cannot send binary data in a module argument.
If you can send base64 data instead of binary, you can use the `slurp`
module to get the base64 encoded data. But you won't be able to do `{{
whatever.content|b64decode }}` since that would try and produce binary
data. Effectively you
I think it has something to do with the publickey and that ansible tries to
authenticate using the public key as primary method of authentication.
For some reason it doesn't takes the username and password and just attempt
SSH with it.
I think that because of the log file.
--
You received
What happens when you setup your inventory to something like this:
[all:vars]# these defaults can be overridden for any group in the [group:vars]
sectionansible_connection=network_cliansible_user=ansible
[ios]...
Hi,
I'm trying to read binary file from ansible master (localhost) to use it in
k8s module.
The task looks like this:
- name: Create ConfigMap with keytab
k8s:
host: "{{ api_host }}"
api_version: v1
kind: ConfigMap
state: present
definition:
metadata:
The following playbook doesn't seem to work:
*- hosts: localhost tasks:- name: Enable flathub repo become:
yes command: flatpak remote-add --if-not-exists flathub
https://flathub.org/repo/flathub.flatpakrepo- name: Install
MakeMKV flatpak:name:
Hi all- we're happy to announce that the general release of Ansible 2.9.4 is
now available! This release contains a single bugfix to a regression in the
yum module, introduced in 2.9.3.
How do you get it?
--
$ pip install ansible==2.9.4 --user
The tar.gz of the release can be
Dear All:
I run command ldapsearch not contact LDAP server
but try open port 636 can't open it
please help me thanks.
ldapsearch -d 9 -D "cn=test,ou=users,dc=,dc=com"\ -w password -b
"dc=xxx,dc=com" -H "ldaps://ldaptest.xxx.com" "objectClass=*"
20 matches
Mail list logo