Dear Ansible community,
Initially, I wanted to reply to this old conversation:
https://groups.google.com/g/ansible-project/c/UVyj6hxgDAA/m/W7VjjynPGwAJ
As it has been closed for a few years, I can't directly answer to it. Back
then, it was noted that one hadn't come across this issue before, an
I did see that... I have to go back and try it again, but I think it was
still reading in all of the handlers for some reason. I did think about
just putting the handler in that tasks file too... hadn't yet tried that
one, but I am pretty sure that would work too.
On Mon, Feb 12, 2024 at 9:32
No, you cannot loop on a block. You can put the tasks in another YAML
file, and use `include_tasks` instead, which you can loop on.
On Wed, Feb 14, 2024 at 12:19 PM lift...@gmail.com
wrote:
> I'd like to do an operation on several VMs that have 2 plays for each.
> Those are using the VMware col
I'd like to do an operation on several VMs that have 2 plays for each.
Those are using the VMware collection to find the VMs folder in the
datacenter, then use that folder to take a snapshot of the VM.
What I was hoping to do was something like this:
block:
- name: Find folder
- name
What if you don't place the vars file in a groups_vars subdirectory. What if
you place it in the directory of the playbook that runs the roles.
vars_files:
- my_vars.yml
Where my_vars.yml exists next to the playbook?
Walter
--
Walter Rowe, Division Chief
Infrastructure Services Division
Mobil
I removed the vars_file from my playbook.
I just double-checked and I am not loading iptables_v4_rules and/or
iptables_directory twice..
I wish I could throw it into a repo but this is on a non-Internet connected
device and can't be moved off.
I've moved from curious to frustrated.
On Tue
Thank you, Todd! That works. I thought I had tried that previously, and it
failed. I must have done it wrong.
On Wednesday, February 14, 2024 at 10:21:38 AM UTC-5 Todd Lewis wrote:
> - { src: "{{ var_containing_package1 }}" }
>
>
> On 2/14/24 9:00 AM, Dimitri Yioulos wrote:
>
> I have plays in a
- { src: "{{ var_containing_package1 }}" }
On 2/14/24 9:00 AM, Dimitri Yioulos wrote:
I have plays in a playbook to copy files to a remote host, then delete
them at the end of the task list. This is the copy play:
* - name: Copy files to host
copy:
src: "{{ item.src }}"
Thanks again. Below both the EE are pointing to the same image I guess.
Anyway both the EE are working fine.
- *Control Plane Execution Environment:*
registry.redhat.io/ansible-automation-platform-23/ee-supported-rhel8:latest
- *Default execution environment: *
registry.redhat.io/ansi
I have plays in a playbook to copy files to a remote host, then delete them
at the end of the task list. This is the copy play:
*- name: Copy files to host copy:src: "{{ item.src }}"
dest: /tmpmode: u=rwx,g=rw,o=rw with_items:- {
src: packag
Hi,
Default EE image link must be like registry.redhat.io/ee-supported:latest,
can you see this link after edited default EE and you may try
$podman pull 'default ee link'
This process need to login registry.redhat.io successfully
Regards
Bülent
14 Şub 2024 Çar 03:14 tarihinde Prady A şunu
11 matches
Mail list logo