Thank you both for the suggestions. Much appreciated.
On Sun, Aug 18, 2024 at 12:05 PM Vladimir Botka wrote:
> On Sun, 18 Aug 2024 15:11:11 +0100
> Will McDonald wrote:
>
> > There may be more elegant ways to achieve this
>
> The below declaration should to the job
>
> seeds: "{{ ansible_pl
Hello.
Consider I have this variable list that can contain as little as 1 and up
to 4 items.
ldapservers:
- server1
- server2
Consider this line in my ldap.conf template.
URI ldap://{{ ldapservers(' ') }}/
I would like the resulting file to look like this:
URI ldap://server1/ ldap:/
thanks, eventually after a few hours i came to a similar conclusion, i was
hoping there was a more elegant way which didn't need a series of finds
On Fri, Mar 22, 2024 at 4:01 PM Vladimir Botka wrote:
> On Fri, 22 Mar 2024 14:15:03 -0400
> Michael DiDomenico wrote:
>
> >
i'm trying to copy a bunch of ssl ca certs into a directory. this works
file with the copy module and if it sees a new one it runs a handler to
rehash all the certs in the directory to create *.0 symlinks to each of the
certs
however, if an additional cert gets put in there by someone and they do
m, which i verified with
- hostname outside the chroot
hosta
- inside the chroot
ansible -m setup localhost | egrep "hostname|nodename|fqdn"
ansible_hostname = "hostb"
ansible_fqdn = "hostb"
ansible_nodename = "hostb"
On Thu, Mar 14, 2024 at 1:35 PM Michael
i have a series of playbooks that use ansible_hostname to determine whether
tasks should run. on a host these work fine as one would expect, but when
running ansible inside a chroot environment with /proc,sys,dev mounted.
ansible pulls the hostname from the host outside of the chroot into
ansible_
om the action, which host to target?
Michael.
--
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 email
to ansible-project+unsubscr...@googlegroups.com.
To view th
it looks like it's related to my fact pathing in some manner. in
ansible.cfg we defined fact_path=/ansible/facts and there are no facts in
/etc/ansible/facts.d. if i copy the fstab.fact file from /ansible/facts to
/etc/ansible/facts.d then i do in get the variable before and after the
setup modul
okay, that's understood. but i'm not sure my behavior is reflecting what
you're saying. either because ansible is doing something unexpected, or
more likely i'm doing something wrong. what i see is
using this playbook
- name: dump vars
hosts: all
connection: local
gather_facts: true
ta
ok, my terminology was a little off, i'm okay with it overwriting then
entire fact tree. but i'm still not sure why the entire branch of
ansible_local disappears after the second run of gathering. is there
something different happening when the play runs "gather_facts"
version ansible.builtin.set
i have a local fact defined. when i first run ansible and it runs
through the gather facts stage, the fact shows up just fine. i do
some tasks and then regather the facts with setup
- name: regather facts
ansible.builtin.setup:
i can see the gather task run, but when i look for that same vari
i'm not an expert, but i think it's the combination of interface and
target that's tripping you up. believe you have to splt the interface
assignment and the zone assignment into two seperate tasks
On Thu, Aug 3, 2023 at 12:32 AM Deepak B K wrote:
>
>
> Hi Group,
>
> I am trying to write an ansi
ansible.builtin.copy:
src: "{{ lookup('ansible.builtin.first_found', findme) }}"
dest: "/{{item.src}}"
owner: "{{item.owner}}"
group: "{{item.group}}"
mode: "{{item.mode}}"
with_items:
- { src: "etc/security/access.
the below block is an example block i use in a few places to copy in
config files and select a host specific file if it exists. not sure
if it's the best way, but it works for now. what i'd like to do is
add in group selection as well. ie if there's group file look for
that first
so above line
]
>
> }
>
>
> TASK [debug]
> ***
>
> ok: [localhost] => {
>
> "listb": [
>
> {
>
> "four": "str4",
>
> "three": "str3"
>
> }
>
> ]
>
> }
&
On Tue, Apr 18, 2023 at 8:56 AM 'Rowe, Walter P. (Fed)' via Ansible
Project wrote:
>
> TASK [debug]
> ***
> ok: [localhost] => {
> "listb": [
> [
> {
> "
thanks for the help, but that's not exactly what i am after. i'm
attempting to avoid creating a third variable. but maybe that's the
only way
On Mon, Apr 17, 2023 at 7:05 PM Vladimir Botka wrote:
>
> On Mon, 17 Apr 2023 18:22:10 -0400
> Michael DiDomenico wrote:
i want to do this, but i'm not getting exactly what i want
lista:
- { one: 'str1', two: 'str2' }
listb:
- "{{ lookup('vars','lista') }}"
- { one: 'str1', two: 'str2' }
the output i want is
listb:
{ one: 'str1', two: 'str2' },
{ one: 'str1', two: 'str2' }
but what i get is
listb:
[ { one: 'str
726561
>
> On Mon, Jan 9, 2023 at 7:29 AM Michael DiDomenico
> wrote:
>>
>> this probably a question for redhat, but i'm hoping someone already
>> asked and answered this.
>>
>> according to this blog post
>> https://www.redhat.com/en/blog/updates-us
this probably a question for redhat, but i'm hoping someone already
asked and answered this.
according to this blog post
https://www.redhat.com/en/blog/updates-using-ansible-rhel-86-and-90
redhat switched from ansible to ansible-core. which means to me that
when i install ansible-core i get the u
trace the ansible-inventory execution to check what libraries and
> syscalls are used:
>
> $ strace ansible-inventory -i inventory/hosts --list 2>&1 | grep libya
> openat(AT_FDCWD, "/lib64/libyaml-0.so.2", O_RDONLY|O_CLOEXEC) = 3
>
> $ rpm -qf /lib64/libyaml-0.so.2
thanks i did see that yesterday when i opened my ticket.
https://github.com/ansible/ansible/issues/79664
if there's more info i can provide please let me know
On Thu, Jan 5, 2023 at 11:54 AM Brian Coca wrote:
>
> It could be related to this
> https://github.com/ansible/ansible/issues/79652 (see
it is installed. is there a way for me to confirm that ansible is
actually using it?
$ rpm -qa | grep -i yaml
perl-CPAN-Meta-YAML-0.018-397.el8.noarch
python3-pyyaml-3.12-12.el8.x86_64
libyaml-0.1.7-5.el8.x86_64
On Sat, Dec 31, 2022 at 6:49 PM Brian Coca wrote:
>
> Do you have libyaml installe
i have a flat list of hosts, no groups, no variables, total is over
15k. when i run
$ head inv-expanded.yml
all:
hosts:
admin:
admin1:
admin2:
admin3:
admin4:
admin5:
admin6:
...snipped...
$ time ansible-inventory -i inv-expanded.yml --list > a
real 0m28.334s
user 0
i'm logging all my output from ansible through the json callback and
it's working fine. are there any tools that take the json output and
convert it back into standard textual (human) ansible log format? i
googled around but nothing turned up and the terms ansible/json/log
return a bunch of unrel
AFAICS this won't result in a SSH connection to local host.
But of course you have to manage the DB connection inside your module.
Ciao, Michael.
--
You received this message because you are subscribed to the Google Groups "Ansible
Project" group.
To unsubscribe from this group an
trying to achieve.
Ciao, Michael.
--
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 email
to ansible-project+unsubscr...@googlegroups.com.
To view this discuss
Hi,
I think you playbook will work if you use CredSSP as the connection method:
https://docs.ansible.com/ansible/latest/user_guide/windows_winrm.html
CredSSP permits ansible to target other hosts from that it initially
connected to.
Regards,
antuelle78
On 13/10/2022 02:18, Joefrey Kimmel w
The base images are here:
https://quay.io/repository/ansible/ansible-runner?tab=tags
You can take a look at this for guidance:
https://github.com/antuelle78/ansible-builder-awxee
Hope that helps.
Regards,
Antuelle78
On 04/10/2022 17:40, JS G. wrote:
Hello,
With quay.io/ansible/awx-ee:lat
Hi,
Looks like you are using an image built for use with awx.
Try with this config:
---
ansible-navigator:
execution-environment:
container-engine: podman
enabled: true
environment-variables:
set:
ANSIBLE_CONFIG: ansible.cfg
image: antuelle78/awx-ee:latest
pu
Hi,
I have managed to by-pass such issues by setting the
ansible_python_interpreter on the CentOS 7 hosts.
May not be the same issue, but just something to pay attention to.
Regards,
Antuelle78
On 28/09/2022 19:04, dma...@istreamplanet.com wrote:
Okay! So, we have a bunch of proprietary s
ect/d4d16073-40e2-9549-5d18-05dbf8dcc95b%40sudheer.net
<https://groups.google.com/d/msgid/ansible-project/d4d16073-40e2-9549-5d18-05dbf8dcc95b%40sudheer.net?utm_medium=email&utm_source=footer>.
--
Michael NELSON
--
You received this message because you are subscribed to the Google Groups "Ansible
Stone wrote:
> On Tuesday 23 August 2022 at 22:16:32, Michael Burch wrote:
>
> > Good afternoon -
> >
> > We have a playbook that is used by multiple groups.
>
> What is a "group"?
>
> > This playbook is neutrally stored and run from a common area.
>
Good afternoon -
I am attempting to add a collection for awx.awx
I want to leverage the tower_label functionality to give some division to
playbooks that are being executed under the same job template for multiple
projects.
I added a requirements.yml to the collections directory. Contents of
Good afternoon -
We have a playbook that is used by multiple groups. This playbook is
neutrally stored and run from a common area. How can we, for lack of a
better term, label the job at run time so that we can associate it to the
PROJECT that is executing it. And even better, how can we inc
Hi again,
You need to configure the credential in Tower and apply it to your template.
In the credential settings you set the become user:
Good luck,
On 23/08/2022 14:03, 'Nicholas Branson' via Ansible Project wrote:
Thanks for replying Michael,
I have made changes as recommend
0googlegroups.com
<https://groups.google.com/d/msgid/ansible-project/f875f002-c45c-4fd4-808a-1c189d6c30fan%40googlegroups.com?utm_medium=email&utm_source=footer>.
--
Michael NELSON
--
You received this message because you are subscribed to the Google Groups "Ansible
Project" group.
To u
Yes Resolved
Thanks,
On Wednesday, August 17, 2022 at 1:22:41 PM UTC-4 Richard Megginson wrote:
> On Wed, Aug 17, 2022 at 11:19 AM Michael Burch wrote:
>
>> Good afternoon Group. Any help is appreciated.
>>
>> I have a survey that collects the name of a proje
Good afternoon Group. Any help is appreciated.
I have a survey that collects the name of a project (project_name). Lets
call it SKILL
I have variables set in the playbook for all the projects to save their
USER and Password Info.
- SKILL_UNAME
- SKILL_PWORD
I have a task that has to account
i'm working with the json callback, specifically it's use with
ANSIBLE_STDOUT_CALLBACK. it's logging all it's output to json, so
that's great, but it also includes all the gathering facts play data
play as well. is there a way to turn off that output in the json
data? i don't want to turn off fa
- Trigger rsync [1] if most of the files are static
- Pack the files into a single tar.gz and transfer and extract that [2][3]
Ciao, Michael.
[1]
https://docs.ansible.com/ansible/latest/collections/ansible/posix/synchronize_module.html
[2]
https://docs.ansible.com/ansible/latest/collectio
at all straight, but that's the jist of it
On Fri, Jul 22, 2022 at 2:34 PM Michael DiDomenico
wrote:
>
> sorry for the cross post, i sent this to the devel list by mistake
> ---
> i have compiled a separate version of openssl 1.1.1, python 3.10.5,
> and ansible 2.13.2
sorry for the cross post, i sent this to the devel list by mistake
---
i have compiled a separate version of openssl 1.1.1, python 3.10.5,
and ansible 2.13.2 into my home directory. i have the
interpreter_python set in the ansible.cfg file to point to the version
of python in my home directory.
o
On 6/27/22 21:59, Marc Haber wrote:
On Mon, Jun 27, 2022 at 05:56:01PM +0200, 'Michael Ströder' via Ansible Project
wrote:
2. IIRC it's not maintained anymore and it does not work with ansible 2.10+.
This might be weirdness with Debian version numbers, but my ansible
installed
ped up ansible runs.
I can confirm the speed-up achieved by mitogen but there are two issues:
1. Some tasks won't work properly, e.g. if you have to set
ansible_python_interpreter for a task.
2. IIRC it's not maintained anymore and it does not work with ansible 2.10+.
Ciao, Michael.
or principal uber...@domain.ca
>>> kinit succeeded for principal uber...@domain.ca
>>> * WINRM CONNECT: transport=kerberos
>>> endpoint=https://inventory_hostname:5986/wsman
>>> <https://inventory_hostname:5986/wsman>*
>>> kinit succeeded for principa
er...@domain.ca
On Monday, June 13, 2022 at 10:11:56 AM UTC-7 urs...@gmail.com wrote:
> Hi Michael,
>
> OK, I should have said so earlier but as well as kinit and klist ping also
> worked, but ansible still would not connect … and gave me exactly the error
> message you are gettin
formation', 851968), ('Server not found in Kerberos
database', -1765328377))
Mikes-WinTest.domain.ca | UNREACHABLE! => {
"changed": false,
"msg": "kerberos: authGSSClientStep() failed: (('Unspecified GSS
failure. Minor code may provide more in
ain.ca
Address: 192.168.8.44
Name:domain.ca
Address: 192.168.8.21
Name:domain.ca
Address: 192.168.12.201
Name:domain.ca
Address: 192.168.9.150
[root@ansible ~]#
On Monday, June 13, 2022 at 3:27:20 AM UTC-7 urs...@gmail.com wrote:
> Hi Michael,
>
> A stab in the dark wi
4
Name:domain.ca
Address: 192.168.8.21
Name:domain.ca
Address: 192.168.12.201
Name:domain.ca
Address: 192.168.9.150
[root@ansible ~]#
On Monday, June 13, 2022 at 3:27:20 AM UTC-7 urs...@gmail.com wrote:
> Hi Michael,
>
> A stab in the dark winrm or Kerberos specifically de
fruit such as NTP, Firewalls,
Windows Firewall, Ethernet adapter zone.
On Monday, June 13, 2022 at 3:27:20 AM UTC-7 urs...@gmail.com wrote:
> Hi Michael,
>
> A stab in the dark winrm or Kerberos specifically depend on a fully
> working DNS.
> Is your tower cluster properly
ror(': Failed to establish a new connection: [Errno -2] Name or
service not known'))*",
"changed": false
}
On Saturday, June 11, 2022 at 6:55:15 PM UTC-7 Michael Kennedy wrote:
> I am having a problem running WinRM connections with both basic and
> kerberos au
I am having a problem running WinRM connections with both basic and
kerberos auth.
My Ansible is deployed with RedHat AAP 4.2.0 on RHEL 9.
I setup a test Windows 2019 machine and ran the
ConfigureRemotingForAnsible.ps1 script against the host. Rebooted the host
for good measure. Tested f
It can be firstly added to typeshed.
пн, 6 июн. 2022 г., 19:56 Matt Martz :
> We are working towards type annotations. I would recommend reading over
> the proposal[1] that we have largely agreed to. But regardless, this isn't
> something that will happen overnight, it will likely take years.
Hi, I've started adding type stubs for the Ansible codebase, currently its
not public
понедельник, 30 мая 2022 г. в 23:30:11 UTC+3, Cooper Lees:
> Hi All,
>
> I saw https://github.com/ansible/ansible/issues/69424 indicated that type
> annotations was not considered for the ansible code base. I
ech is designed for workstation logins
after initial password reset. I'd recommend to implement a better
password reset process which avoids this.
Ciao, Michael.
--
You received this message because you are subscribed to the Google Groups "Ansible
Project" group.
To unsubscribe fro
LDAP server) to choose from.
Ciao, Michael.
--
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 email
to ansible-project+unsubscr...@googlegroups.com.
To
Hi, im new in ansible and ansible developing. Now im trying to develop own
collection and I wanna bring typing annotations. Some of them require*
typing-extensions*. I've created a folder *_vendor* in *plugins*, and
import typing-extensions using relative import
*from ..vendor.typing_extension
hangelog, porting guide, docsite).
I guess that Ansible users are normally system admins I'd expect to be
used to dealing with multiple packages with interdependent version
numbers. So technically correct language is probably the most useful
form for this audience.
Ciao, Michael.
--
You
invoke
pip install --upgrade ansible-core
to get the updates. So this "implementation detail" is indeed quite
relevant to Ansible users who want to properly maintain their controller.
Ciao, Michael.
--
You received this message because you are subscribed to the Google Groups
Seems to have been resolved. All okay now
https://github.com/ansible/galaxy/issues/2891#issue-1146608071
On Tuesday, February 22, 2022 at 5:58:50 PM UTC+3 Matt Martz wrote:
> Yes, there are some ongoing performance issue with galaxy.ansible.com.
> Cause and time to resolution are unknown right
On 12/22/21 18:07, Nico Kadel-Garcia wrote:
On Wed, Dec 22, 2021 at 12:00 PM 'Michael Ströder' via Ansible Project
wrote:
On 12/22/21 17:33, Michael Ströder wrote:
Is it possible to make ansible-galaxy invoke 'git verify-tag' with a
locally configured GPG public key
On 12/22/21 17:33, Michael Ströder wrote:
Is it possible to make ansible-galaxy invoke 'git verify-tag' with a
locally configured GPG public key on tags specified as version: in
requirements.yml?
Hmm, seems there is no such thing yet:
https://github.com/ansible/proposals/issues/36
HI!
Is it possible to make ansible-galaxy invoke 'git verify-tag' with a
locally configured GPG public key on tags specified as version: in
requirements.yml?
Thx in advance for any hint.
Ciao, Michael.
--
You received this message because you are subscribed to the Google Group
I task a task that disables selinux on a managed host before performing an
installation.
However ansible returning a warning informing that reboot is needed for
setting to take effect:
TASK [Gathering Facts]
**
*I have a task defined as follows:*
- name: add postgres system user
user:
name: "{{ postgres_system_user }}"
comment: Postgres User
update_password: always
expires: -1
password: "{{ postgres_system_user_password | password_hash('sha512')
}}"
group: "{{ postgres_system
We checked the documentation but our configuration seems to be okay, also
it worked in the previous version.
Has anyone experienced this or has a guess what's going on?
Regards
Michael
--
<https://www.basecom.de/newsletter/?utm_source=mailfooter>
Besuchen Sie
u
Anyone know who maintain the git lab project modules?
On Wed, Jun 23, 2021 at 12:16 PM Michael Weiner wrote:
> Doesn't work at all
>
> On Wed, Jun 23, 2021 at 12:05 PM Wei-Yen Tan wrote:
>
>>
>> There is a git lab project module. Use that and refer to the gitlab g
Doesn't work at all
On Wed, Jun 23, 2021 at 12:05 PM Wei-Yen Tan wrote:
>
> There is a git lab project module. Use that and refer to the gitlab group
> in it
>
>
> On Wed, 23 Jun 2021 at 11:38 PM Michael Weiner wrote:
>
>> Hi all,
>>
>> I want to cre
Hi all,
I want to create a group in gitlab, and within that group create a project.
Any suggestions?
I can run the gitlab_group module, and it does create, what appears to be a
subgroup but not a project within that group I had created.
--
You received this message because you are subscribe
If you installed ansible with pip, you can use the file (from the base
of your virtual environment)
./lib/python3.8/site-packages/ansible_collections/community/azure/tests/sanity/requirements.txt
as input for 'pip install -r . From my
install, it contains the following, which worked for me getting
Any progress on this thread? I am having this exact same issue. I'm
assuming maybe Ansible or the plugin are looking in the wrong place for the
'request' module, but I'm not sure where to look so I can point it in the
right direction.
On Friday, February 26, 2021 at 4:46:59 PM UTC-6 dave...@g
on with google workspace works. FreeIPA
and Æ-DIR both expose LDAP end-points to use with data suitable to be
used for NSS/PAM in Linux.
But this stuff is getting highly off-topic here.
Ciao, Michael.
> On Fri, Apr 9, 2021 at 10:37 AM Michael Ströder
> wrote:
>
>> On 4/9/21 10:20 AM
me more
components you need. Being the author I'm biased of course.
On-topic again: Æ-DIR is installed with ansible [3]. :-)
Ciao, Michael.
[1]
https://docs.ansible.com/ansible/latest/collections/ansible/builtin/user_module.html
[2]
https://docs.ansible.com/ansible/latest/collections/ansibl
This is more of a Unix question than an ansible question.
Your login ID should not be root.
Your sudo file ,on destination host, should have your login ID defined with
appropriate permissions.
Use ssh keys for your login ID
Hope this helps.
On Wed, Mar 17, 2021 at 03:37 reredok wrote:
> Hello,
denied)"}
Not sure what's going on because I am using a legal user but do I need
to put a provision for *sudo *and run the commands with sudo?
Thanks guys I appreciate your help,
--
*Michael A Cooper*
Linux Certified / Docker Certified
http://www.coopfire.com
--
You received this
les.results }}"*
Is there a way to solve that? If yes, please provide the solution.
Kind regards
Michael Roessler
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails fr
e because I hardcoded it in
> my config template.
I'd argue that if you're the admin of a service you're also responsible
to fully understand all the config options in effect at any time.
Ciao, Michael.
--
You received this message because you are subscribed to the Google Gr
to be
applied.
> Sorry for "philosophical question"
I think this question is valid and you will probably see differing opinions.
Ciao, Michael.
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe fr
Hi Thuan,
I'm not sure why you are just trying to assert the permissions rather than
enforce them, but why not enforce them with something like:
- name: Change permissions recursively
hosts: all
gather_facts: False
ignore_errors: True
vars:
path:
modes:
d: '2755'
f:
you can always create a main.yml in your role, then just conditionally
import entire playbooks (like 'some_playbook.yml' in this case) such as:
$ cat main.yml
- import_tasks: some_playbook.yml
when: inventory_hostname_short|regex_search('host1|otherhost2')
Or any other conditional that works
into:
1. restricting SSH access to go through a bastion host with MFA
configured for establishing control master connections
and/or
2. using temporary SSH user certs issued by an SSH-CA after user
authenticated with MFA
YMMV.
Ciao, Michael.
P.S.: My own projects in the field of user management f
all automatically at the
moment, due to the way the dependencies are declared. I just submitted an
issue about that: https://github.com/ansible/ansible/issues/72967
As a workaround, you have to add it manually: poetry add packaging
Dan Michael
On Thursday, November 19, 2020 at 12:49:45 PM UTC
Your specific message - about package management - is setup-tools and/or
wheel installed. Guessing, but I have had very similar messages when
`wheel` is missing.
On Saturday, November 14, 2020 at 2:02:06 PM UTC+1 info.mauri...@gmail.com
wrote:
> I’m running into the same problem and can’t find
dempotent.
> So if your task reports as changed, then this means you are either
> unpacking a different archive each time, or your unpacked tree has
> changed somehow.
>
> Try adding a stat task right before the unarchive task and watch the
> checksum to verify.
>
>
>
I have a Jenkins pipeline that automates an install using Ansible. One of
the steps includes copying a tar file to the target host using the
unarchive module. This step finishes with a 'changed' status if rerun and
so isn't idempotent as would be preferred. Is there a way to perform a
check on
Looks like indenting. "state" should be indented to the level of "name"
since they are both directives of dnf.
On Wed, Sep 23, 2020 at 6:49 PM Prabhakaran Karuppaih <
arrow.prabhaka...@gmail.com> wrote:
> - name: Install other dependencies
> dnf:
> name:
> - unixODBC
> -
sion}.tar.gz.sha
If this download location is not the official URL anymore I can change
that of course.
Ciao, Michael.
--
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
g with a new release if there is a serious bug.
Full ack!
Because this regression is a real show-stopper I've added a backport
patch in ansible package for openSUSE / SLE.
https://build.opensuse.org/package/show/systemsmanagement/ansible
Ciao, Michael.
--
You received this messag
OK, threw away Kerberos and switched to NTLM which works great.
Michael Richter schrieb am Montag, 10. August 2020 um 09:42:41 UTC+2:
> Hi,
> On a Linux server I want to access a Windows server from Windows domain
> *sub.dnsdomain* using an account from parent Windows domain *dnsdomain
It might be installed to *$HOME/.local/bin*. If you can find ansible in
this directory, add it to your PATH variable (*$HOME/.profile*: export
PATH="$PATH:$HOME/.local/bin") and login again.
charles...@gmail.com schrieb am Freitag, 7. August 2020 um 22:59:09 UTC+2:
> Thank you I could install a
Hi,
On a Linux server I want to access a Windows server from Windows domain
*sub.dnsdomain* using an account from parent Windows domain *dnsdomain*.
The account has admin permissions to that server and can login using RDP.
I have configured Kerberos realms for both domains on the Linux server. I
Given a line in a file like this simple_allow_groups =
access1,access2,access3 I want to be able to use a list of variables and
append to that line. simple_allow_groups =
access1,access2,access3,access4,access5,access6 I have tried the following
code with lineinfile and replace --- - hosts: 's
If you use paramiko (ssh) as your transport, then by default any connection
you make will be over ssh. And if you can ssh to it you can obviously ping
it (unless ICMP is blocked). So I would just use a playbook that runs the
'uptime' command via the shell module. If you get a response, you have
su
worked very well - thanks! Could you elaborate on your note "Also you
are using templating in the wrong places. " a bit more?
Greetings,
Michael
Am Mittwoch, 10. Juni 2020 22:40:19 UTC+2 schrieb Brian Coca:
>
> instead of set_fact (which forces static evaluation BEFORE the task,
:
vdom: "{{ vdom }}"
state: "present"
router_static:
device: "{{ item.device }}"
dst: "{{ item.dst }}"
gateway: "{{ item.gateway }}"
seq_num: "{{ item.name }}"
status: "enable"
w
in to reflect
> the changes in LDAP?
Are you talking about POSIX groups retrieved from LDAP server? How fast
group membership is updated depends on the technical details how
NSS-LDAP integration is done.
But to me it seems there's no ansible-specific question here.
Ciao, Michael.
--
Yo
Hi racke
If the web site requires login user/pw for access right, what module I
should use?
Thanks
MC
On Thu., May 14, 2020, 1:32 a.m. Stefan Hornburg (Racke),
wrote:
> On 5/14/20 8:28 AM, Michael Chan wrote:
> > Hi I am not sure if this idea even possible, I want to use Ansible to
>
Hi Gurudatta,
As the error suggests, you have to use *either* 'k=v' syntax throughout the
playbook or yaml throughout the playbook. More recent conventions suggest
using yaml, so try this.
- name: "Create multiple directories"
file:
path: {{item}}
state: directory
wit
Hi I am not sure if this idea even possible, I want to use Ansible to pull
price list from suppliers and remotely send and (copy) into designated
inventory (remote servers) these update price lists are in excel and once
the price list are updated, the cost and budget are also updated based on
t
1 - 100 of 3706 matches
Mail list logo