Hello everyone,
I want to use ansibl to config fortigate device,but the device fireware
version is below 5.6
I found ansible module that can deploy fortigate are all using fortiapi to
do it,so FortiGate versions are supported from 5.6 onwards .
Does there has anyway can help me use ansible to
Hi, I have been looking into *nested *, *subelements *and other *lookups *with
no luck to make this working , using ansible 2.8.
Basically , I'd like to construct a loop than can itself iterate over other
variables (list or dict).
* iam_managed_policy:*
*policy_name: "{{ item.name }}"*
*
You proably need to fetch the adaptor name which you can do with
Get-NetAdapter powershell command
https://docs.microsoft.com/en-us/powershell/module/netadapter/get-netadapter?view=win10-ps
then pass that to the module parameters.
On Wednesday, August 12, 2020 at 11:39:57 AM UTC+1, Prakash PMS
Lots of things could be going wrong here.
What error do you get? Is there anything in windows event log? Change
arguments and get the installer to write to a log file and look in that for
problems.
Does installer need administrator privilege? May be you need to run using
become runas - see
no, not currently
--
--
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 email
to ansible-project+unsubscr...@googlegroups.com.
To view this
Hello,
Apart from manual install, there is two other ways depending your
infrastructure apart from manual way:
1) if you have a proxy for internet then configure proxy on rhel8 ansible
node and then perform install via pip. If you don't have proxy already then
you could configure squid default
You can install pip yourself as a user:
https://pip.pypa.io/en/stable/installing/
On Wed, Aug 12, 2020 at 9:01 AM Jay Amin wrote:
> Hello Lee,
> So I don't have access to subscription manager or PIP. I have to perform
> this as localinstall and hence your above commands don't work when tried.
>
Hello Lee,
So I don't have access to subscription manager or PIP. I have to perform
this as localinstall and hence your above commands don't work when tried.
Do you know how would I upgrade without using subscription manager or
without using pip command?
Thanks
Jitesh
On Wed, Aug 12, 2020 at
JYL,
Appreciate the recommendation. I should have mentioned that the Windows OS
is 2008r2. I did try this module before submitting and per the win_share
module docs and error message after run, this OS is not supported by the
win_share module.
James
On Wed, Aug 12, 2020 at 12:45 AM Jean-Yves
Hi,
I am running playbooks via an ssh command. The issue is when a long-running
task is run in the playbook the ssh client gives a broken pipe error and
quits.
Tweaking SSH client by adding* ServerAliveInterval 30 &
ServerAliveCountMax 2 * did not help .
I was able to handle this for the
Thank you, that works.
I appreciate the help .
moonchil...@gmail.com schrieb am Mittwoch, 12. August 2020 um 08:46:56
UTC+2:
> wait_for_connection might be more suitable for reachability checks in your
> case:
>
>
ansible 2.9.6 on ubuntu 20.04
On Wednesday, 12 August 2020 16:05:44 UTC+5:30, Dick Visser wrote:
>
> what ansible version are you running
>
> On Wed, 12 Aug 2020 at 12:15, Prakash PMS > wrote:
> >
> > Hi,
> >
> > when wild card is used for adapter_names in win_dns_client to set DNS in
>
what ansible version are you running
On Wed, 12 Aug 2020 at 12:15, Prakash PMS wrote:
>
> Hi,
>
> when wild card is used for adapter_names in win_dns_client to set DNS in
> windows machines, it is not recognizing the interface.
>
> tasks:
> - name: Set DNS to Primary Domain Controller
>
Hi,
when wild card is used for adapter_names in win_dns_client to set DNS in
windows machines, it is not recognizing the interface.
tasks:
- name: Set DNS to Primary Domain Controller
win_dns_client:
adapter_names: 'tap*'
ipv4_addresses: '{{ ad_domain_server }}'
Following
Thanks for your response,
I have still issue when there are two elements matched in regex pattern.
please help
Playbook:
---
- name: list regex compare
hosts: localhost
gather_facts: no
connection: local
vars:
list1:
- linux.*
- 6.*
- mysql|python|gvim
my ansible is on python2.7 I have tried by change
ansible_python_interpreter=/usr/bin/python3 but nothing works out can you
please help here.
On Wednesday, August 12, 2020 at 2:52:51 PM UTC+5:30 dvenur...@gmail.com
wrote:
> Hi Robert,
>
> Are you able to run playbooks using fortinet galaxy
Hi Robert,
Are you able to run playbooks using fortinet galaxy collections.
Actually I am facing issue using it.
Can you please show how you maintain inventory file and playbook with
sample values.
Is it work with python2 interpreter.
I am getting timeout error.
---
- hosts: fortigate
You can create a "real" list of all the vlans that this range-list contains.
Once that is done it's trivial to do your check:
---
- hosts: localhost
connection: local
gather_facts: no
vars:
vlan_range:
"1,134,170,175,540,605,819-820,911-912,930-932,945,952,955,959-960,1200-1201,1400"
https://docs.ansible.com/ansible/latest/user_guide/playbooks_filters.html#network-vlan-filters
On Tue, 11 Aug 2020 at 21:51, Spiro Mitsialis wrote:
>
> Using various methods, I can get a list of VLAN on a switch port. The list
> looks like the following:
> "vlans":
>
Greetings Ansible Community,
The change [0] to enable ansibot [1] to auto-close issues and PRs that
have the `needs_collection_redirect` label [2] in ansible/ansible
repository was just merged. In addition to closing, bot will also post
a comment explaining the reason and a link to a collection
wait_for_connection might be more suitable for reachability checks in your
case:
https://docs.ansible.com/ansible/latest/modules/wait_for_connection_module.html
---
- name: Verify if host is up
hosts: Server2
gather_facts: no
become: true
tasks:
- block:
- name: Ping the
try
$ sudo subscription-manager repos --enable
ansible-2.9-for-rhel-8-x86_64-rpms
and
$ sudo dnf upgrade ansible
--
Lee
On Tue, Aug 11, 2020 at 11:50 PM Jay Amin wrote:
> Hello,
> Can anyone tell me how do I upgrade Ansible v2.9.10 to 2.9.11 or 2.9.12 on
> RHEL 8?
>
> I cannot use since
22 matches
Mail list logo