Hi Matt and all:

Hope you are doing well .

Could you please help me with the below if you get a chance.



01) How to code a python script to find the ports ( for an example as
below) with its speed

eno3-1 G
eno4-1G
eno1
eno2
enp59s0f0-10G
enp59s0f1
enp59s0f2
enp59s0f3
enp94s0f0
enp94s0f1
enp135s0f0
enp135s0f1

and how can I call that script in an ansible playbook.

once I call the script the ansible playbook should prompt for user like
below

1.1 Please select the interface for 'x' function:  enp59s0f0-10G ( for an
example)
  once one port has been consumed it will be update the port_list in the
backend


1.2 please select the interface for 'y' function: select _ports

.once the port has been selected/consumed it will be update the port_list
in the backend

1.4. Please select the interface for 'z' function : select_ports

...
....




02)   How to write a task to  install ubuntu OS 18.04 or 22 etc  using
ansible playbook to the remote servers from a control node.







03)  How to write a python script to do a partition on that ubuntu OS  and
including network configuration to ssh the server :

/boot   1024MB ext4 primary
/            1TB ext4 primary
/boot/efi 1024MB efi primary
/var   others ext4 logical


04) How to upload a file to a remote server creating a directory like
/x/y/file_lis t using ansible task?


05) How to run a ' linux command ' to the remote server using an ansible
task in the ansible playbook

*Thanks-in-advance*


*Regards,*
MIC




On Mon, Sep 12, 2022 at 2:57 PM Matt Martz <m...@sivel.net> wrote:

> Hi all- we're happy to announce the general release of:
>
> - ansible-core 2.13.4
> - ansible-core 2.12.9
>
>
> How to get it
> -------------
>
> $ python3 -m pip install --user ansible-core==2.13.4
> or
> $ python3 -m pip install --user ansible-core==2.12.9
>
> The release artifacts can be found here:
>
> * ansible-core 2.13.4
>     Wheel:
> https://files.pythonhosted.org/packages/c5/e0/3902cd860950eb7eac6597064782aa3c3948cfa9ca6d62e0e241542116df/ansible_core-2.13.4-py3-none-any.whl
>     Source:
> https://files.pythonhosted.org/packages/53/8a/408534557aa945db1f83e627ae876516b4c1f8b697732fdb0e535314091d/ansible-core-2.13.4.tar.gz
>
> * ansible-core 2.12.9
>     Source:
> https://files.pythonhosted.org/packages/38/8f/1c613cdae204e197205a88cd9f1eae3178a74bd0eb2a63ea7a79851ee3a8/ansible-core-2.12.9.tar.gz
>
>
> Checksums
> ---------
>
> # ansible_core-2.13.4-py3-none-any.whl: 2074941 bytes
> SHA256 (ansible_core-2.13.4-py3-none-any.whl) =
> d83947d23441df6f96ea934032a948a060bf6db4852d28ed5f9c7b92b39165b7
> # ansible-core-2.13.4.tar.gz: 13929408 bytes
> SHA256 (ansible-core-2.13.4.tar.gz) =
> 78f45c2c472af60b9b4b8cbdaba5a3911079087891a9f6c6ed726327b8f21c6a
> # ansible-core-2.12.9.tar.gz: 7758384 bytes
> SHA256 (ansible-core-2.12.9.tar.gz) =
> f3ed79d8c9ad4decca2bf43aae223a9c976caaa514bf1fff2bb8b809b1f157f6
>
>
> What's new
> ----------
>
> This release is a maintenance release containing numerous bugfixes.
>
> The full changelog can be found here:
>
> * ansible-core 2.13.4
>
> https://github.com/ansible/ansible/blob/v2.13.4/changelogs/CHANGELOG-v2.13.rst
>
> * ansible-core 2.12.9
>
> https://github.com/ansible/ansible/blob/v2.12.9/changelogs/CHANGELOG-v2.12.rst
>
>
> What's the schedule for future maintenance releases?
> ----------------------------------------------------
>
> The next batch of release candidates is planned to be released on 3
> October 2022. The next general availability release will be one week after.
>
>
> Porting Help
> ------------
>
> If you discover any errors or if any of your working playbooks break when
> you
> upgrade, please use the following link to report the regression:
>
>   https://github.com/ansible/ansible/issues/new/choose
>
> In your issue, be sure to mention the version that works and the one that
> doesn't.
>
> Thanks!
>
> --
> Matt Martz
> @sivel
> sivel.net
>
> --
> You received this message because you are subscribed to the Google Groups
> "Ansible Development" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to ansible-devel+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ansible-devel/CAD8N0v_QL%3DBu_iTEgB1_pVR_bCqJ6ctnm5BXPL4Y50p2yJiE7w%40mail.gmail.com
> <https://groups.google.com/d/msgid/ansible-devel/CAD8N0v_QL%3DBu_iTEgB1_pVR_bCqJ6ctnm5BXPL4Y50p2yJiE7w%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-devel/CALbbZz90e%3Dq3os2mQ7fLr-xxfR1Bs2kLEduCik6x_BfQHAx5Jg%40mail.gmail.com.

Reply via email to