[ansible-project] Re: vmware_guest error: Unable to access the virtual machine configuration: Unable to access file

2022-11-23 Thread Christopher Bachmeyer
Did you find a resolution to this by chance? I just ran into the issue when I changed datastores. I was using a general datastore holding templates but the goal was to use the same datastore of the Content library and use those templates. "msg": "Failed to create a virtual machine : Unable

Re: [ansible-project] Ansible roles - setup concept

2022-11-23 Thread Dick Visser
I do something similar, but then with rsyslog. I have this set in the role: defaults/main.yml: rsyslog_type: client and then in tasks/main.yml: - name: Ensure the appropriate tasks file is imported include_tasks: "{{ rsyslogd_type }}.yml" This then includes either tasks/client.yml or tasks/se

Re: [ansible-project] Ansible roles - setup concept

2022-11-23 Thread RG
hi, I adapted the configuration to your proposal, however it doesn't work First all tasks were execetuted on host cmp an then all tasks were again exectuted on the the other machine except cmp. Regarding to your solution would be necessary to tag both tasks roles/nfs/tasks/nfs_server.yml --- - n

Re: [ansible-project] Ansible roles - setup concept

2022-11-23 Thread 'Rowe, Walter P. (Fed)' via Ansible Project
It sounds like you want one NFS role that can do both NFS server and NFS client tasks. Were I designing such a role I think I would use a variable or tag to identify which "persona" you want the role to configure, and use that in the tasks/main.yml to source two different task files. One task fi

[ansible-project] Ansible Roles - Concept

2022-11-23 Thread RG
i'd like to migrate my playbooks into ansible roles. I started but a basic question raises. E.g. I'd like to implement nfs in a bunch of of linux machines. on one machine i've to configure the nfs-sharing and on the other machines I've to implemt the link to the nfs-sourcing host. systemA - con

[ansible-project] Ansible roles - setup concept

2022-11-23 Thread Robert Grießner
Hi, i'd like to migrate my playbooks into a ansible role. I started but a basic question raises. E.g. I sould like to implement nfs in network of linux machines. on one machine i've to configure the nfs-sharing and on the other machines I've to implemt the link to the nfs-sourcing host. systemA

Re: [ansible-project] Trying to Setup Azure AD Authentication

2022-11-23 Thread Dick Visser
Hi This is the ansible list. Your problem seems more of an AWX issue rather than an ansible issue. Maybe better response on the dedicated AWX support list On Wed, 23 Nov 2022 at 06:31, bhanu m wrote: > Can someone help me on this. > > Thanks, > Bhanu > > On Mon, Nov 21, 2022 at 11:57 AM bhanu m