I am running this playbook against the switches, where it does not have an
inbuilt python to execute. It has to execute in localhost and then fetch
the output.
That is working fine in prompt.yml file. but not working correctly in
inventory.yml
On Friday, January 29, 2021 at 11:33:05 AM UTC+5:3
Is this an observation or a question?
On Thu, 28 Jan 2021 at 23:27, Aris Aguirre wrote:
> Lets put it this way. If the vgaris has 80G, it will just create the
> lvaris 60G with no problem. But if the vgaris has only 50G, then it cant
> create the 60G but will create a 40G lvaris.
> Thanks
>
> O
just a shot into the dark:
could it be, that the permissions on the files in .ssh of the target are wrong?
ssh is very picky here
robert
On 28.01.21 20:10, Dick Visser wrote:
With this amount of provided information the only thing that can be said is
that the issue is with site_inventory.yml
O
Hi
Do you know how can I solve this (last command):
Jorayala@JORAYALA-M-JFTV ~ % python3 get-pip.py --user
Collecting pip
Downloading pip-21.0-py3-none-any.whl (1.5 MB)
|| 1.5 MB 499 kB/s
Installing collected packages: pip
WARNING: The scripts pip, p
Hello,
I am testing a dead simple playbook intended to verify that privilege
escalation works. The code is at https://github.com/cscal/testplay
The error that Ansible gives me is:
FAILED! => {"changed": false, "msg": "Error, could not touch target: [Errno
13] Permission denied: b'/root/test'",
Interesting... I hadn't thought about the versioning thing. Most of the
stuff we are doing, is either package installs, or basic server
administrative operational type tasks. We are just getting started using
ansible ( I have been using it for my fleet of Pi's for about 2 ish years
now ), so I
Lets put it this way. If the vgaris has 80G, it will just create the lvaris
60G with no problem. But if the vgaris has only 50G, then it cant create
the 60G but will create a 40G lvaris.
Thanks
On Thursday, January 28, 2021 at 2:55:11 PM UTC-6 dick@geant.org wrote:
> On Thu, 28 Jan 2021 at
apologies really but there is no way for me to post the text as it is in my
RHLS.
On Thursday, January 28, 2021 at 3:30:52 PM UTC+8 dick@geant.org wrote:
> On Thu, 28 Jan 2021 at 06:58, galaxy boy wrote:
>
>> Appreciate to get a response.
>
>
> Appreciate if you follow up on the response yo
On Thu, 28 Jan 2021 at 20:49, Aris Aguirre wrote:
>
> I have a playbook below. But it only works on the nodes that has 800G (SDB)
> or the Volume Group has 800G free space. I am expecting that i Volume
> Group(vgaris) exist and only has 300G, it will still create 100G of lvaris.
Where does your
Playbook: Site_inventory.yml
- hosts: switches
gather_facts: False
vars:
ftp_server: 2.19.16.15
tasks:
- name: Include the brocade upgrade role
include_role:
name: brocade_upgrade
vars:
ip_addr: "{{ inventory_hostname }}"
playbooks: Main.yml
- name: Retrieve the
I know, lineinfile. I was thinking of file or copy module. Like just
absent/present and content as argument. My question is, how about replace?
you think the module replace can help?
Thanks
On Thursday, January 28, 2021 at 1:43:57 AM UTC-6 brae...@gmail.com wrote:
> On 1/28/21 6:12 AM, Aris Agu
I have a playbook below. But it only works on the nodes that has 800G (SDB)
or the Volume Group has 800G free space. I am expecting that i Volume
Group(vgaris) exist and only has 300G, it will still create 100G of lvaris.
---
WinRM certificate auth require certain extensions and authentication
methods to be enabled, you can't just use a server authentication
certificate that you would use for a website for this. We even document how
to create these certs using PowerShell or OpenSSL
https://docs.ansible.com/ansible/l
What Ansible version are you running, does it also fail with the same error
if you did just "- ansible.windows.win_shell: echo 'hi'". Does win_command
work, what about just "win_shell" and not the FQCN.
On Friday, January 29, 2021 at 2:58:30 AM UTC+10 jesse...@gmail.com wrote:
> Crickets
> :(
>
Hi,
Need help on setting up authentication between ansible and windows by using
GoDaddy certificates or any third party instead of Openssl or SelfSigned
certificate.
I have tried many ways but its not working. i was able to import
certificate to windows but when I was trying to map certificate
With this amount of provided information the only thing that can be said is
that the issue is with site_inventory.yml
On Thu, 28 Jan 2021 at 19:46, a.srini...@gmail.com
wrote:
> I have a playbook where it has an option that can be run in 2 different
> ways.
>
> 1. When having single host to exe
I have a playbook where it has an option that can be run in 2 different
ways.
1. When having single host to execute, can run prompt.yml file to execute
against single host.
2. When a large number of hosts exits, that was kept in a inventory and run
against them.
Play book is working fine when
thanks for your help, the solution with postgres_privs works great
zausel z schrieb am Donnerstag, 28. Januar 2021 um 09:22:14 UTC+1:
> Hey Racke ,
>
> thanks for your effort, I will test postgresql_privs :)
>
>
>
> brae...@gmail.com schrieb am Mittwoch, 27. Januar 2021 um 17:49:28 UTC+1:
>
>> On
Crickets
:(
On Wednesday, January 27, 2021 at 10:41:24 AM UTC-5 jesse...@gmail.com
wrote:
> Executing a rather large playbook revolving around multiple plays to
> create shares and DFS links, etc.
>
> I've got a play to do the following.
> -
> - name: Create DFS links
> ansib
One repo per role is the general advice, but it does depend a bit. We built
a body of over 200 roles at my last job, and over time we found that
managing a 'package' of know good versions got very unwieldy, and people
had trouble managing their requirements.yml. Our first solution was to
build
On 1/28/21 11:29 AM, j..r.. wrote:
> How can I put the loop into the content? Can you please write?
>
> Thanks
>
Sure, here we go:
- name: vg free
copy:
dest: /tmp/file-copy
content: |
{% for vg in ansible_lvm.vgs | dict2items %}
VG {{ vg.key }} {{ vg.value.free_g }} GB
How can I put the loop into the content? Can you please write?
Thanks
On Thursday, January 28, 2021 at 10:43:06 AM UTC+1 brae...@gmail.com wrote:
> On 1/28/21 10:31 AM, Jost Rakovec wrote:
> > Hi
> >
> > copy doesn't work for me. I have 2 VG and with the copy module it looks
> like it rewri
On 1/28/21 10:31 AM, Jost Rakovec wrote:
> Hi
>
> copy doesn't work for me. I have 2 VG and with the copy module it looks like
> it rewrites the first occurrence of VG in
> loop, linenifile works as it should.
>
> - name: vg free
> copy:
> dest: /tmp/file-copy
> content
Hi
copy doesn't work for me. I have 2 VG and with the copy module it looks
like it rewrites the first occurrence of VG in loop, linenifile works as it
should.
- name: vg free
copy:
dest: /tmp/file-copy
content: "VG: {{ item.key }} free {{ item.value.free_g }} GB"
lo
Hey Racke ,
thanks for your effort, I will test postgresql_privs :)
brae...@gmail.com schrieb am Mittwoch, 27. Januar 2021 um 17:49:28 UTC+1:
> On 1/27/21 4:47 PM, zausel z wrote:
> > Hey Racke,
> >
> > this is my configuration
> >
> >
> > host_vars:
> > pg_users:
> > - { name: dbuser, db
25 matches
Mail list logo