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

2024-02-13 Thread Prady A
Cool  exactly.. Thank you both of you. You made my day today. Sorry my bad last time I didn’t switch to awx user. It was the same early error. But when I executed your given command the templates started running for the first time. awx@controller ~]$ podman images ERRO[] invalid internal

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

2024-02-13 Thread Paul Brylinski
See reply above - here is the Red Hat site I got it from https://access.redhat.com/solutions/6988045 On Tue, Feb 13, 2024 at 7:57 PM Paul Brylinski wrote: > I ran into this issue last week. > > Like Bulent said, I first sudo into awx > > #su - awx > > and then I run the command it told me to

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

2024-02-13 Thread Paul Brylinski
I ran into this issue last week. Like Bulent said, I first sudo into awx #su - awx and then I run the command it told me to run /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

Re: [ansible-project] 'dict object' has no attribute....

2024-02-13 Thread Todd Lewis
Do you still have that vars_files: thing? As Dick suggested, it feels like that file is getting loaded more than once, and you don't want that. Is it at all possible that variables iptables_v4_rules and/or iptables_directory are being set anywhere else? *[If you want to toss the whole thing

Re: [ansible-project] 'dict object' has no attribute....

2024-02-13 Thread Kathy Lyons
Todd- thank you for clearing that up for me I made default.yml all.yml amd reran things with the same errors. I am running my roles from within a playbook like this. - roles - role1 become: true - role2 become: true On Tue, Feb 13, 2024 at 2:51 PM Todd Lewis wrote: > This

Re: [ansible-project] 'dict object' has no attribute....

2024-02-13 Thread Todd Lewis
This bears repeating. I know I missed it the first few times I was told, and then the light came on. * All hosts are in the "all" group. (That much I got the first time. :) * Any files /or directories/ in ./group_vars/ that match a host's group names – including "all" – get loaded for

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

2024-02-13 Thread Bülent ŞENGÜLER
Hello, You need to have execution env that is container image. Can You share aap execution env list on gui and then you can check on shell; #su - awx $podman images (you need to see a few images) $podman run -it container_image Regards Bulent 13 Şub 2024 Sal 21:27 tarihinde Prady A şunu

[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] 'dict object' has no attribute....

2024-02-13 Thread Dick Visser
On Tue, 13 Feb 2024 at 17:35, Kathy L wrote: > When I make Todd's changes, I get the same original error EXCEPT it tells > me CentOS is not a dict, even though I am targeting a Debian box. > > Dick, are you saying that the file all.yml in the group_vars folder does > not need to be explicitly

Re: [ansible-project] 'dict object' has no attribute....

2024-02-13 Thread 'Rowe, Walter P. (Fed)' via Ansible Project
The error appears to be in '/work/armory/roles/xxx/tasks/xxx.yml': line 266, column 3, but may be elsewhere in the file depending on the exact syntax problem. The offending line appears to be: - name: Save new iptables - IPv4 ^ here The error is being reported by a role. Is the

Re: [ansible-project] 'dict object' has no attribute....

2024-02-13 Thread Kathy L
When I make Todd's changes, I get the same original error EXCEPT it tells me CentOS is not a dict, even though I am targeting a Debian box. Dick, are you saying that the file all.yml in the group_vars folder does not need to be explicitly stated in my playbook? On Tuesday, February 13, 2024 at

Re: [ansible-project] 'dict object' has no attribute....

2024-02-13 Thread Dick Visser
On Tue, 13 Feb 2024 at 15:33, Kathy L wrote: > Default.yml is at the playbook level in a folder called group_vars. It is > being read in by my playbook like this: > > vars_files: > - group_vars/default.yml > If 'group_vars' is adjacent to your playbook, then 'group_vars/default.yml' would

Re: [ansible-project] 'dict object' has no attribute....

2024-02-13 Thread Todd Lewis
Hey Kathy, I've been trying to reproduce the problem without success. However, I think you've got one level of indirection too many going on. You have iptables_directory: CentOS: "/etc/sysconfig" Fedora: "/etc/sysconfig" Rocky: "/etc/sysconfig" Debian: "/etc/iptables" Ubuntu:

Re: [ansible-project] 'dict object' has no attribute....

2024-02-13 Thread Dick Visser
Does the same thing happen for all distros? Or only for Debian/CentOS, and not for Rocky/Ubuntu? -- 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

Re: [ansible-project] 'dict object' has no attribute....

2024-02-13 Thread Kathy L
When I target CentOS I get this error: The task includes an option with an undefined variable. The error was: {'CentOS': '{{ iptables_directory[ansible_distribution] }}/iptables', 'Rocky': '{{ iptables_directory[ansible_distribution] }}/iptables', 'Debian': '{{

Re: [ansible-project] 'dict object' has no attribute....

2024-02-13 Thread Dick Visser
On Tue, 13 Feb 2024 at 14:22, Kathy L wrote: > I've been working this issue for a week now. The code used to work > perfectly and now it fails. Here is the error I get: > Logic dictates that something has changed. Did you upgrade anything? Or otherwise make changes? That would be the obvious

[ansible-project] 'dict object' has no attribute....

2024-02-13 Thread Kathy L
I've been working this issue for a week now. The code used to work perfectly and now it fails. Here is the error I get: The task includes an option with an undefined variable. The error was: {'CentOS': '{{ iptables_directory[ansible_distribution] }}/iptables', 'Rocky': '{{