Re: [ansible-project] depending on extra variables call a template

2024-05-20 Thread Prady A
of > tasks that do that. > And I also don't know what a "service catalog" is in an ansible context? > > Can you share the playbook that you have right now? > Dick > > On Mon, 20 May 2024 at 19:39, Prady A wrote: > >> Hi experts, >> >> I m trying to add a f

[ansible-project] depending on extra variables call a template

2024-05-20 Thread Prady A
Hi experts, I m trying to add a feature to install db after installing vm. In my service catalog if I select Postgres db it is passing extra variable as Postgres to ansible platform. Using that variable how can a call a template which install the actual db.. Regards PD -- You received this

Re: [ansible-project] Get_url

2024-04-10 Thread Prady A
10 Apr 2024 at 14:14, Prady A wrote: > Thank you I see. I ll check the script. Can we call the execute > the get_url without ssl certificate ? > > This is ansible verbose report. Seems the SSL is too old. > > Failed to connect to the host via ssh: OpenSSH_7.4p1, *OpenSSL >>

Re: [ansible-project] Get_url

2024-04-10 Thread Prady A
read_packet: read header failed: Broken pipe > debug2: Received exit status from master 1 > Shared connection to server1234 closed. > Regards On Wed, Apr 10, 2024 at 5:08 PM Stefan Hornburg (Racke) wrote: > On 10/04/2024 09:55, Prady A wrote: > > Thanks dick > > >

Re: [ansible-project] Get_url

2024-04-10 Thread Prady A
Thanks dick Yes by default those commands doesn’t comes oob. Tried with verbosity mode. Request failed:” Regards On Wed, 10 Apr 2024 at 16:15, Dick Visser wrote: > Too bad, that would have helped to indicate SSL issues on that remote host. > Try running with more verbosity (-vvv) and see

Re: [ansible-project] Get_url

2024-04-10 Thread Prady A
Thanks but both curl and wget command not found.. Regards On Wed, 10 Apr 2024 at 15:12, Dick Visser wrote: > Are you able to use curl on that remote host with the same URL and > credentials? > > Sent from Gmail Mobile > > > On Wed, 10 Apr 2024 at 07:36, Prady A wrote: &g

[ansible-project] Get_url

2024-04-09 Thread Prady A
Hi experts I ve been trying get_url in Aix server but no luck yet.. In Linux the below ansible code is working get_url: dest: /tmp url: https:// username: <> password: <> But in AIX machine it is giving below error. .. Request failed: Any pointer or advice pls.. R

Re: [ansible-project] Ternary or when in ansible

2024-03-07 Thread Prady A
Thanks Dick that’s what I needed On Fri, 8 Mar 2024 at 00:36, Dick Visser wrote: > > > On Thu, 7 Mar 2024 at 16:02, Prady A wrote: > >> Hi again >> >> For simplicity I thought to do like this. >> >> Current code >> - name: Subscribe my repo >&

Re: [ansible-project] Ternary or when in ansible

2024-03-07 Thread Prady A
REPO shell: | subscription-manager register UK server When: IS_UK = True Regards PD On Thu, 7 Mar 2024 at 22:44, Prady A wrote: > Hi TODD, > > Thanks for your reply. > Yes I ve that variable(IS_UK= TRUE) > defined already and it is coming from upstre

Re: [ansible-project] Ternary or when in ansible

2024-03-07 Thread Prady A
Hi TODD, Thanks for your reply. Yes I ve that variable(IS_UK= TRUE) defined already and it is coming from upstream. Just need to the logic for efficient if then syntax in ansible. Secondly subscription manager is shell command. Regards Prady On Thu, 7 Mar 2024 at 21:42, Todd Lewis wrote

[ansible-project] Ternary or when in ansible

2024-03-06 Thread Prady A
Hi Ansible experts I am confused which one to use I want to subscribe US servers default but if the server is in UK I want to subscription should Point to UK capsule server.. If IS_UK= TRUE Subscription-manager then Subscription-manager Regards -- You received this message because you are

Re: [ansible-project] ansible question

2024-03-04 Thread Prady A
Hi Welcome.. There should be a handler to listen this notification.. The handler should have the same keyword. Ex: --- # webserver.yml - name: "Install and configure web server" hosts: "all" handlers: - name: "Start and enable httpd Service" ansible.builtin.service: name: "httpd.service" state:

Re: [ansible-project] Rhel 7-> 8 upgrade

2024-02-22 Thread Prady A
Thank you.. I ll try to use the modules instead. And we run ansible with the root user .. also when I rebooting my server manually the default python link is getting updated to pyhon3 Now I raised the issue to RH let’s see what comes up Thanks again On Fri, 23 Feb 2024 at 06:18, Evan Hisey

Re: [ansible-project] Rhel 7-> 8 upgrade

2024-02-21 Thread Prady A
n tasks to community.general.redhat_subscription module. That > is should automatically change python version, but you may need to > disconnect and reconnect to update the user environment. > > On Wed, Feb 21, 2024 at 5:07 AM Prady A wrote: > >> Hello all, >> >> >&g

[ansible-project] Rhel 7-> 8 upgrade

2024-02-21 Thread Prady A
Hello all, Upgrading from Rhel7-> 8 using ansible. In the pre upgrade task I performed few checks like space check and yum update and subscription-manager registration. No issues in the beginning tasks.. But when performing below task post reboot taskShell: Yum clean all

Re: [ansible-project] [Ansible-Project] Installation of AAP 2.3

2024-02-14 Thread Prady A
ocess need to login registry.redhat.io successfully > > Regards > Bülent > > > > 14 Şub 2024 Çar 03:14 tarihinde Prady A şunu > yazdı: > >> Hi >> >> Thank you for your kind reply. >> I can see the default EE on AAP GUIattached). >&

Re: [ansible-project] [Ansible-Project] Installation of AAP 2.3

2024-02-13 Thread Prady A
; > /usr/bin/podman system migrate > > Then I ran my job template. > > Hope this works for you. > > Paul > > On Tue, Feb 13, 2024 at 7:14 PM Prady A wrote: > >> Hi >> >> Thank you for your kind reply. >> I can see the default EE on AAP GUIattac

[ansible-project] [Ansible-Project] Installation of AAP 2.3

2024-02-13 Thread Prady A
HI All, Facing acute challenge while running the first job in AAP 2.3. StandAlone AAP was installed with success but when I tried to synch demo project or my own project it keeps on saying this one line error. No idea how to proceed from here. Kindly advise. ERRO[] invalid internal status,

Re: [ansible-project] [ansible project] VM snapshot capture using VMware

2024-01-23 Thread Prady A
e use set_stats to artifacts so they can > be used downstream in the AAP workflow by ex-snapshot-revert.yml including > its powered on status. > > > > Even if you don't use these playbooks they may help you craft your own. > > Walter > -- > Walter Rowe, Division Chief >

Re: [ansible-project] [ansible project] VM snapshot capture using VMware

2024-01-22 Thread Prady A
: > Is that a space before snapshot (right where it says “Task” in the JSON > request)? Was that part of the request or did you insert that by mistake > when you copied it into the email? > > - Rilindo > > On Jan 21, 2024, at 9:13 PM, Prady A wrote: > >  > > Hi, > &

Re: [ansible-project] [ansible project] VM snapshot capture using VMware

2024-01-21 Thread Prady A
On Sun, 21 Jan 2024 at 07:15, Nico Kadel-Garcia wrote: > On Thu, Jan 18, 2024 at 8:16 PM Prady A wrote: > > > > Hi experts, > > > > We are doing automation to update RHEL7-> RHEL8 . > > Before we upgrade we take the snapshot. > > The issue is when

[ansible-project] [ansible project] VM snapshot capture using VMware

2024-01-18 Thread Prady A
Hi experts, We are doing automation to update RHEL7-> RHEL8 . Before we upgrade we take the snapshot. The issue is whenever there is an upgrade failure we revert the server to its previous state. But it seems when we revert it the machine is in power off state.. it seems when we take automatic

Re: [ansible-project] error in jinja2 template

2023-12-18 Thread Prady A
Hi Did you run your playbook or not ? What’s the output so that it will be easy to diagnose Thanks On Tue, 19 Dec 2023 at 12:51, Thirumalai Raja A wrote: > Hi Team, > below is my playbook and j2 template i was failed to create a file > actually i am not comfortable wil jinja2 if any one

Re: [ansible-project] execute Synchronize module in AAP 2.3

2023-12-13 Thread Prady A
hief > Infrastructure Services Division > Mobile: 202.355.4123 > > On Dec 13, 2023, at 9:19 AM, Prady A wrote: > > Hi Dick > > Thank you for the directions. If I not wrong all AAP uses containers to > execute the templates and this is not specific to me. I m not sure

Re: [ansible-project] execute Synchronize module in AAP 2.3

2023-12-13 Thread Prady A
:52, Dick Visser wrote: > > > On Wed, 13 Dec 2023 at 14:43, Prady A wrote: > >> Thank you for your direction and suggestion.. >> actually we want to sync http folder not a file >> Is there any way I can sync between 2 servers.? >> > > You can, with the

Re: [ansible-project] execute Synchronize module in AAP 2.3

2023-12-13 Thread Prady A
Thank you for your direction and suggestion.. actually we want to sync http folder not a file Is there any way I can sync between 2 servers.? Regards Prady On Wed, 13 Dec 2023 at 22:24, Dick Visser wrote: > Hii > If it really is just one file, you can use the copy module... > &

[ansible-project] execute Synchronize module in AAP 2.3

2023-12-13 Thread Prady A
Hello experts I ve simple piece of below code - Name: Install rsync on the Target package: name: rsync state: present - Name: Synchronize file from local to remote synchronize: src: /tmp/memo.txt dest: /temp/test code I can run the code

Re: [ansible-project] [ansible-projects] Ansible automation platform temol

2023-11-25 Thread Prady A
. ~ Failed to retrieve user data. ~ RH support https://access.redhat.com/solutions/6981363 Regards Prady On Sun, 26 Nov 2023 at 04:33, Evan Hisey wrote: > How is your playbook handling the login? and who is it login is as? > > On Wed, Nov 22, 2023 at 2:26 AM Prady

[ansible-project] [ansible-projects] Ansible automation platform temol

2023-11-22 Thread Prady A
Hi experts I am trying to execute my template from AAP 2.3. But getting an access denied error from my private automation hub. Any suggestions pls ? error: initializing source docker:// vr4003.icici.com/icici-custom-ee-29-rhel8:latest: reading manifest latest in

[ansible-project] Ansible Automation platform

2023-11-20 Thread Prady A
Hi I am trying to execute my template in recently built AAP 2.3 , but eventually it is failing with the below error message. No problem in Dev environment. Occurring in prod env. Pls help. — Traceback (most recent call last): File "/usr/bin/ansible-runner", line 10, in sys.exit(main()) File

Re: [ansible-project] Synchronize module failing

2023-11-16 Thread Prady A
Thank you for your guidance .. Regards Prady On Thu, Nov 16, 2023 at 22:36, 'Felix Fontein' via Ansible Project < ansible-project@googlegroups.com> wrote: > Hi, > > > Thank you for your kind reply > > > > No some target machine don’t have rsync installe

Re: [ansible-project] Synchronize module failing

2023-11-16 Thread Prady A
Thank you for your kind reply No some target machine don’t have rsync installed. What to do in that case ? Regards On Thu, Nov 16, 2023 at 22:10, Dick Visser wrote: > > > On Thu, 16 Nov 2023 at 13:56, Prady A wrote: > >> Hi Experts >> >> One doubt with synchron

[ansible-project] Synchronize module failing

2023-11-16 Thread Prady A
Regards Prady -- 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 discussion on the web vi

Re: [ansible-project] Multipathd is not enabling

2023-10-24 Thread Prady A
t; > On Mon, 23 Oct 2023 at 14:46, Prady A wrote: > >> Thank you so much for your kind reply. >> >> For temporary fix I copied the /etc/multipath.conf from other machine >> but eventually we need to update our ISO image to include this file. >> >> Regards

Re: [ansible-project] Multipathd is not enabling

2023-10-23 Thread Prady A
nable to create a default config > 3. Override/replace the Condition in the systemd unit file (probably a bad > idea). > > > > On Wed, 18 Oct 2023 at 07:25, Prady A wrote: > >> Thank you . Due to some old iso image the multipath is not able to enable >> . We have to update t

Re: [ansible-project] Multipathd is not enabling

2023-10-18 Thread Prady A
ansible.builtin.service: >name: multipathd >state: started >enabled: true > > ... work? > > On 10/18/2023 5:33 AM CEST Prady A wrote: > > > Hi All.. > > I ve a very 2 very basic task of enabling multipath. > The 2 task is failing sinc

[ansible-project] Multipathd is not enabling

2023-10-17 Thread Prady A
Hi All.. I ve a very 2 very basic task of enabling multipath. The 2 task is failing since the first one is not enabling. But in ansible job it is showing as changed but when I checked multipath service in system it is showing as Below: Active: inactive(dead) Condition: start condition failed

Re: [ansible-project] [anisible]Install package

2023-08-14 Thread Prady A
Super cool . That’s what I was try in pseudo code.. Thanks a ton On Mon, Aug 14, 2023 at 20:07, Todd Lewis wrote: > Here's *my* solution. Whether you wish to go there is a different > question. > > --- > - name: Prady A example 1 > hosts: localhost > vars: >

[ansible-project] [anisible]Install package

2023-08-14 Thread Prady A
Hi folks I want to optimize the code here Existing code: package: name: “{{ item }}” state: present with_items: - vim - lvm2 - xyz when: is_USA Now I don’t want to install xyz PACKAGE for RHEL 9 server only then I ve to rewrite the separate code for xyz package like below or

Re: [ansible-project] [Ansible Project ]Ansible New Automation platform

2023-08-07 Thread Prady A
Thank you Abhijeet Yes recently in my company also they upgrading to Ansible automation platform. Since I just started learning Tower got confused. Can I bypass Tower to learn this(Ansible Automation platform)one quick question? Regards Prady On Tue, Aug 8, 2023 at 14:03, Abhijeet Kasurde

[ansible-project] [Ansible Project ]Ansible New Automation platform

2023-08-07 Thread Prady A
Hi folks Recently Redhat Automation platform has been introduced. Is it completely different from Ansible Tower. The reason I am asking I got confused which one to read :( Regards PD -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To

Re: [ansible-project] [ansible-projects] Hostname trimming help

2023-08-02 Thread Prady A
t 5 digits of the > mac address was a prefix for the host names. The mac pretty much > guarentees a unique name with added bonus of assisting network finding on > the network when there is a connectivity issue > > On Wed, Aug 2, 2023, 8:56 PM Prady A wrote: > >> Hi Experts, &

[ansible-project] [ansible-projects] Hostname trimming help

2023-08-02 Thread Prady A
Hi Experts, Not exactly an ansible issue but any thought would be greatly appreciated. We use AD for Password synchronization between different kinds of systems. For password synchronization we also use mainframe system which accepts only 8 charters as a hostname. So now we are trimming the

Re: [ansible-project] [Ansible Project] how to get the logged in username

2023-07-31 Thread Prady A
n", > "awx_project_scm_branch", "awx_user_email", "awx_user_first_name", > "awx_user_id", "awx_user_last_name", and "awx_user_name". > > On Saturday, July 29, 2023 at 11:51:15 PM UTC-4 Prady A wrote: > >> Hi Todd, >&g

Re: [ansible-project] [Ansible Project] how to get the logged in username

2023-07-29 Thread Prady A
the userid who run the playbook from Ansible tower. Regards Prady On Sun, Jul 30, 2023 at 1:23, Todd Lewis wrote: > Without knowing your effective ansible config — i.e. the ansible.cfg it's > using, the environment variables that can override those settings, and > command line parameters

Re: [ansible-project] [Ansible Project] how to get the logged in username

2023-07-28 Thread Prady A
Thank you for your kind reply. Yes that’s what my guess also. As there are many user who run the ansible so it unpractical to change it for all the user. I wanted to get the user details in runtime .. Regards Prady On Sat, Jul 29, 2023 at 12:50, Abhijeet Kasurde wrote: > Hi Prady, >

[ansible-project] [Ansible Project] how to get the logged in username

2023-07-28 Thread Prady A
Hi All, I searched a quite but could able to find what I wanted Could any pls suggest me how to get the Username in the host machine. In Linux if I run the below command I get what I suppose to get but don’t know how to do it ansible. Any code Ansible or python would be helpful Fin Linux:

Re: [ansible-project] [Ansible Project] Not able to process the shell command in control node

2023-07-28 Thread Prady A
> On Fri, Jul 28, 2023 at 10:21 AM Prady A wrote: > >> Thank you both of you and code . >> I ll try to simplify it. since the module is already we are using in >> different program, i reused it. >> >> >> Regards >> Prady >> >> On Sat, Jul 2

Re: [ansible-project] [Ansible Project] Not able to process the shell command in control node

2023-07-28 Thread Prady A
Thank you both of you and code . I ll try to simplify it. since the module is already we are using in different program, i reused it. Regards Prady On Sat, Jul 29, 2023 at 0:18, Evan Hisey wrote: > This seems massively complicated for a simple shell command to send an > email.

Re: [ansible-project] [Ansible Project] Not able to process the shell command in control node

2023-07-28 Thread Prady A
l > program to get the user name seems a bit much. I'd suggest doing this > instead: > > import os > import pwd > userid = pwd.getpwuid(os.getuid())[0] > > Then there's the question of whether you want to roll your own email > sending program rather than using the `commu

[ansible-project] [Ansible Project] Not able to process the shell command in control node

2023-07-28 Thread Prady A
Hi Experts, Need your suggestion pls. The below one is ansible file which calls an python file in the control node(localhost) and process an excel file which is also present in control node based on hostnames. There is no issue in processing the excel and now I am facing challenges while sending

Re: [ansible-project] Ssh connectivity issues from a Debian core server to a remote Windows 10 Pro host.

2023-06-26 Thread Prady A
Hi Login to your control machine with the user you control. 1 . Generate the ssh key using ssh keygen. # ssh keygen 2. Copy the pub key to the same user where you created the key. Ex : #ssh-copy-id admistrator@ 3. Try the adhoc command Ex: #ansible -i inventory -m ping Read the ansible doc

Re: [ansible-project] passing arguments to python script

2023-06-21 Thread Prady A
at 11:53 PM Prady A wrote: > Thank you both for your kind help. > my python script expects a list. I am expecting something like below list > data= [["1ld501"], ["1ld994"]] > > This is working for me when I hardcoded inside python script. I am > expe

Re: [ansible-project] passing arguments to python script

2023-06-21 Thread Prady A
Thank you both for your kind help. my python script expects a list. I am expecting something like below list data= [["1ld501"], ["1ld994"]] This is working for me when I hardcoded inside python script. I am expecting similar list from ansible script. with the above join command all the hostname

[ansible-project] passing arguments to python script

2023-06-21 Thread Prady A
Hi all I am trying to pass the ansible hostnames as an array list to python script but could not figure out where the extra characters are coming from. I am passing with ansible_play_hosts_all variable. In my host file there are 2 hoosts 1ld501 and 1ld994. but it is passing some unexpected

Re: [ansible-project]Collect hostnames in an array

2023-06-20 Thread Prady A
Tue, Jun 20, 2023 at 8:25 PM Prady A wrote: > >> Thank Dick..Thank you for your kindness.. >> Sorry if I confused. My intention is to run the playbook and get all the >> hostnames in a variable . >> >> Like : >> var=hostvars[ansible_hostname][‘ansible_hostnam

Re: [ansible-project]Collect hostnames in an array

2023-06-20 Thread Prady A
so that finally I can pass that array to python script. Regards On Wed, Jun 21, 2023 at 12:18, Dick Visser wrote: > https://docs.ansible.com/ansible/latest/cli/ansible-inventory.html > > > On Wed, 21 Jun 2023 at 04:49, Prady A wrote: > >> Hi all >> >> Pls help..

[ansible-project]Collect hostnames in an array

2023-06-20 Thread Prady A
Hi all Pls help.. need to collect all the hostnames in an array and pass that are art finally to an python script as an argument..so that I can process that python file with all hostname in a loop. If any other way to doing it that would be certainly great.. Regards.. Prady -- You received

[ansible-project] Re: Need help with executing a python script automation

2023-06-20 Thread Prady A
I found one solution to with delegate_to option to run on the task on particular server. Regards On Wed, Jun 21, 2023 at 10:23, Prady A wrote: > Hi all > > I want to execute a python script which is available in control node. And > the python script uses the ansible_hostn

[ansible-project] Need help with executing a python script automation

2023-06-20 Thread Prady A
the excel which is also available in local. Regards Prady -- 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...@google

Re: [ansible-project] Ssh connectivity issues with ad-hoc commands, playbooks.yml, Ansible.

2023-06-15 Thread Prady A
in ansible.cfg configuration file you can specify Remote_user = administrator On Thu, Jun 15, 2023 at 15:36, Thanh Nguyen Duc wrote: > Need to specify your target ssh user. > > On 15 Jun 2023, at 12:30, Prady A wrote: > >  > You are running the script from root use

Re: [ansible-project] Ssh connectivity issues with ad-hoc commands, playbooks.yml, Ansible.

2023-06-14 Thread Prady A
You are running the script from root user. So it is trying to connect root@ip not administrator@ip On Thu, Jun 15, 2023 at 0:58, gonzalo diaz larenas < gonzalodiazlare...@gmail.com> wrote: > Dear > Good afternoon, sorry for the inconvenience, I'm just getting started with > what Ansible is,

[ansible-project] firewalld not found

2023-06-14 Thread Prady A
This is regarding firewalld collection I installed Rhel-system-roles now I copied firewalld.yml to my local collection(./collections) folder and when I am executing ansible-doc firewalld it cannot be found. Though if I am executing being inside the folder no issue. I want to use this firewalld

Re: [ansible-project] ansible cannot log into server, yet I can ssh in manually

2023-06-12 Thread Prady A
I suspect your ssh public key is not copied properly to those managed nodes. need to check config file. Check in the managed node whether the ssh public key is copied or not if you are using password less authentication. On Mon, Jun 12, 2023 at 22:12, Thanh Nguyen Duc wrote: > Seem like it

Re: [ansible-project] ansible cannot log into server, yet I can ssh in manually

2023-06-12 Thread Prady A
Give some details about below: from which user you are trying to connect to. >From which user your ssh is configured. And from which user you are ruining your ansible script.. On Mon, Jun 12, 2023 at 19:17, Kathy L wrote: > As the title says, I am trying to run an ansible playbook against 10 >

[ansible-project] ssh-key exchange and root password set

2023-03-29 Thread Prady A
Hello folks As a new learner, I am trying to copy the ssh pub key to the managed node as below. ssh_install.yml === tasks: - name: Exchange the pub key authorized_key: user: root state: present key: "{{ lookup('file', '~/.ssh/id_rsa.pub') }}" === Running with

Re: [ansible-project] Re: Based on Variable defined template should behave

2023-03-07 Thread Prady A
}}, owned by {{ ansible_local.lob | > default(ansible_local.bu) }} > > > On Monday, March 6, 2023 at 2:29:18 AM UTC-5 Prady A wrote: > >> Hello experts, >> >> Need one little suggestion on below .. >> Below is my current code . >> >> - name: set /etc/

Re: [ansible-project] Re: Based on Variable defined template should behave

2023-03-06 Thread Prady A
ble_local.bu) }} > > > On Monday, March 6, 2023 at 2:29:18 AM UTC-5 Prady A wrote: > >> Hello experts, >> >> Need one little suggestion on below .. >> Below is my current code . >> >> - name: set /etc/motd for abcd servers >> template: >>

[ansible-project] Based on Variable defined template should behave

2023-03-05 Thread Prady A
Hello experts, Need one little suggestion on below .. Below is my current code . - name: set /etc/motd for abcd servers template: src: etc-motd.j1 dest: /etc/motd owner: root group: root mode: 0644 backup: yes when: - is_us *Template: *etc-motd.j1 REMINDER:

Re: [ansible-project] Key Update depending on the OS version

2022-07-11 Thread Prady A
{{ AMZN_KEY }} {% endif %} On Tue, Jul 12, 2022 at 1:12 PM Prady A wrote: > Hello Folk, > > Need one help in updating the key to sshd_config file depending on the OS > version. > > I ve folder structure like below > - roles > - sshd > - tasks >

[ansible-project] Key Update depending on the OS version

2022-07-11 Thread Prady A
Hello Folk, Need one help in updating the key to sshd_config file depending on the OS version. I ve folder structure like below - roles - sshd - tasks main.yml - vars main.yml - template main.yml I want to update

Re: [ansible-project] Need help on ansible code from shell script

2022-07-09 Thread Prady A
in tasks On Sun, Jul 10, 2022 at 1:44, Dick Visser wrote: > What did you try already? > How does your playbook look like? > > > On Sat, 9 Jul 2022 at 13:01, Prady A wrote: > >> Hi Experts, >> >> Just started learning ansible few weeks back. want to automate a s

[ansible-project] Need help on ansible code from shell script

2022-07-09 Thread Prady A
Hi Experts, Just started learning ansible few weeks back. want to automate a shell script. Need your help badly. Any jinja template or any help would be greatly appreciated. Here is the pseudocode for the shell script RHEL7_ENTRY1 -= "Algorithim-abc-xyz" RHEL7_ENTRY2 -= "Cipher- cxyx-dfas"

Re: [ansible-project] Unable to execute ansible playbook

2022-07-07 Thread Prady A
While executing the command provide -k option and provide the root password or Authenticate your localhost. On Thu, Jul 7, 2022 at 14:44, Ashok Reddy wrote: > Hi all, > > I got the following error, while trying to execute ansible playbook: > > TASK [Gathering Facts] >